📁 File Manager Pro
v10.0.2 | PHP: 8.1.34
Server: LiteSpeed
2026-06-30 00:00:49
📂
/
/
opt
/
cpanel
/
ea-wappspector
/
vendor
/
squizlabs
/
php_codesniffer
/
tests
/
Core
/
Tokenizers
/
PHP
✏️
Editing: NullsafeObjectOperatorTest.inc
<?php /* * Null safe operator. */ /* testObjectOperator */ echo $obj->foo; /* testNullsafeObjectOperator */ echo $obj?->foo; /* testNullsafeObjectOperatorWriteContext */ // Intentional parse error, but not the concern of the tokenizer. $foo?->bar->baz = 'baz'; /* testTernaryThen */ echo $obj ? $obj->prop : $other->prop; /* testParseErrorWhitespaceNotAllowed */ echo $obj ? -> foo; /* testParseErrorCommentNotAllowed */ echo $obj ?/*comment*/-> foo; /* testLiveCoding */ // Intentional parse error. This has to be the last test in the file. echo $obj?
💾 Save Changes
❌ Cancel