PHP 8.5.0 Alpha 2 available for testing

Voting

: min(two, eight)?
(Example: nine)

The Note You're Voting On

museyib dot e at gmail dot com
6 years ago
Be careful when using dynamic accessing namespaced elements. If you use double-quote backslashes will be parsed as escape character.

<?php
$a
="\namespacename\classname"; //Invalid use and Fatal error.
$a="\\namespacename\\classname"; //Valid use.
$a='\namespacename\classname'; //Valid use.
?>

<< Back to user notes page

To Top