- Introduce constant declaration with new object instance - Add var_dump to display the constant object - Create basic example demonstrating PHP's new operator in constant contextpull/34/head
parent
ea02ec096f
commit
2bc1cc12ad
1 changed files with 5 additions and 0 deletions
@ -0,0 +1,5 @@ |
||||
<?php |
||||
const O = new stdClass(); |
||||
|
||||
var_dump(O); |
||||
|
||||
Loading…
Reference in new issue