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/Yr19p:5
Stack trace:
#0 /in/Yr19p(28): ImmutableThingy->__set('foo', 'baz')
#1 {main}
thrown in /in/Yr19p on line 5
Process exited with code 255.
Output for 5.5.0 - 5.6.25
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/Yr19p:5
Stack trace:
#0 /in/Yr19p(28): ImmutableThingy->__set('foo', 'baz')
#1 {main}
thrown in /in/Yr19p on line 5
Process exited with code 255.