before
Deprecated: Creation of dynamic property Test::$testing is deprecated in /in/GYZnX on line 13
Deprecated: Creation of dynamic property Test::$_testing is deprecated in /in/GYZnX on line 14
after
testing testing
_testing testing2
object(Test)#1 (3) {
["test":protected]=>
string(0) ""
["testing"]=>
string(7) "testing"
["_testing"]=>
string(8) "testing2"
}
Deprecated: Creation of dynamic property Test::$testing is deprecated in /in/GYZnX on line 21
Deprecated: Creation of dynamic property Test::$_testing is deprecated in /in/GYZnX on line 21
object(Test)#2 (3) {
["test":protected]=>
string(0) ""
["testing"]=>
string(7) "testing"
["_testing"]=>
string(8) "testing2"
}
round2
testing testing
_testing testing2
Output for 8.3.5
Warning: PHP Startup: Unable to load dynamic library 'sodium.so' (tried: /usr/lib/php/8.3.5/modules/sodium.so (libsodium.so.23: cannot open shared object file: No such file or directory), /usr/lib/php/8.3.5/modules/sodium.so.so (/usr/lib/php/8.3.5/modules/sodium.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
before
Deprecated: Creation of dynamic property Test::$testing is deprecated in /in/GYZnX on line 13
Deprecated: Creation of dynamic property Test::$_testing is deprecated in /in/GYZnX on line 14
after
testing testing
_testing testing2
object(Test)#1 (3) {
["test":protected]=>
string(0) ""
["testing"]=>
string(7) "testing"
["_testing"]=>
string(8) "testing2"
}
Deprecated: Creation of dynamic property Test::$testing is deprecated in /in/GYZnX on line 21
Deprecated: Creation of dynamic property Test::$_testing is deprecated in /in/GYZnX on line 21
object(Test)#2 (3) {
["test":protected]=>
string(0) ""
["testing"]=>
string(7) "testing"
["_testing"]=>
string(8) "testing2"
}
round2
testing testing
_testing testing2
Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/GYZnX on line 9
beforePHP_EOL
Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/GYZnX on line 16
afterPHP_EOL
Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/GYZnX on line 18
testing testingPHP_EOL
Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/GYZnX on line 18
_testing testing2PHP_EOLobject(Test)#1 (3) {
["test:protected"]=>
string(0) ""
["testing"]=>
string(7) "testing"
["_testing"]=>
string(8) "testing2"
}
object(Test)#2 (3) {
["test:protected"]=>
string(0) ""
["testing"]=>
string(7) "testing"
["_testing"]=>
string(8) "testing2"
}
Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/GYZnX on line 23
round2PHP_EOL
Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/GYZnX on line 25
testing testingPHP_EOL
Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/GYZnX on line 25
_testing testing2PHP_EOL
Output for 4.4.2 - 4.4.9
Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /in/GYZnX on line 5
Process exited with code 255.
Parse error: parse error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /in/GYZnX on line 5
Process exited with code 255.
Output for 4.3.2 - 4.3.4
Parse error: parse error, expecting `T_OLD_FUNCTION' or `T_FUNCTION' or `T_VAR' or `'}'' in /in/GYZnX on line 5
Process exited with code 255.