<?php class A {
var $one = "111";
function __construct() { echo "construct";}
function __destruct() { echo "destruct";}
function __wakeup() { echo "wakeup";}
}
$at = new A();
$x = serialize($at);
}
Parse error: syntax error, unexpected '}' in /in/RTR5v on line 9
Process exited with code 255.
Output for 5.1.0 - 5.1.2
Strict Standards: var: Deprecated. Please use the public/private/protected modifiers in /in/RTR5v on line 2
Parse error: syntax error, unexpected '}' in /in/RTR5v on line 9
Process exited with code 255.
Output for 5.0.0 - 5.0.5
Strict Standards: var: Deprecated. Please use the public/private/protected modifiers in /in/RTR5v on line 2
Parse error: parse error, unexpected '}' in /in/RTR5v on line 9
Process exited with code 255.