object(ImmutableThingy)#1 (1) {
["foo":protected]=>
string(3) "bar"
}
string(3) "bar"
Fatal error: Uncaught Exception: can't touch this, nah nah nuh nahhh in /in/DAYom:8
Stack trace:
#0 /in/DAYom(40): ImmutableThingy->__set('foo', 'baz')
#1 {main}
thrown in /in/DAYom on line 8
Process exited with code 255.
Output for 5.5.24 - 5.5.35, 5.6.8 - 5.6.28
object(ImmutableThingy)#1 (1) {
["foo":protected]=>
string(3) "bar"
}
string(3) "bar"
Fatal error: Uncaught exception 'Exception' with message 'can't touch this, nah nah nuh nahhh' in /in/DAYom:8
Stack trace:
#0 /in/DAYom(40): ImmutableThingy->__set('foo', 'baz')
#1 {main}
thrown in /in/DAYom on line 8
Process exited with code 255.