Fatal error: Uncaught Error: Undefined constant "value" in /in/oc9XJ:13
Stack trace:
#0 /in/oc9XJ(21): A->__set('a', 110)
#1 {main}
thrown in /in/oc9XJ on line 13
Process exited with code 255.
Warning: Use of undefined constant value - assumed 'value' (this will throw an Error in a future version of PHP) in /in/oc9XJ on line 13
Notice: Indirect modification of overloaded property A::$a has no effect in /in/oc9XJ on line 22
object(A)#1 (1) {
["__props":"A":private]=>
array(2) {
[0]=>
string(1) "a"
["a"]=>
string(5) "value"
}
}
string(5) "hello"
Output for 7.3.32 - 7.3.33
Warning: Use of undefined constant value - assumed 'value' (this will throw an Error in a future version of PHP) in /in/oc9XJ on line 13
object(A)#1 (1) {
["__props":"A":private]=>
array(2) {
[0]=>
string(1) "a"
["a"]=>
string(5) "value"
}
}
string(5) "hello"
Notice: Use of undefined constant value - assumed 'value' in /in/oc9XJ on line 13
Notice: Indirect modification of overloaded property A::$a has no effect in /in/oc9XJ on line 22
object(A)#1 (1) {
["__props":"A":private]=>
array(2) {
[0]=>
string(1) "a"
["a"]=>
string(5) "value"
}
}
string(5) "hello"
Parse error: syntax error, unexpected '[' in /in/oc9XJ on line 4
Process exited with code 255.
Output for 5.0.0 - 5.0.5
Parse error: parse error, unexpected '[' in /in/oc9XJ on line 4
Process exited with code 255.
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/oc9XJ on line 4
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/oc9XJ on line 4
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/oc9XJ on line 4
Process exited with code 255.