3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $BookSearchCriteria ->BNOTR="Borrowed and Not Returned"; $BookSearchCriteria ->BYESR="Borrowed and Returned"; echo $BookSearchCriteria; $user; $user -> $name; echo $user;
Output for 7.1.0 - 7.1.7
Warning: Creating default object from empty value in /in/PRZlB on line 2 Recoverable fatal error: Object of class stdClass could not be converted to string in /in/PRZlB on line 5
Process exited with code 255.
Output for 5.4.0 - 7.0.20
Warning: Creating default object from empty value in /in/PRZlB on line 2 Catchable fatal error: Object of class stdClass could not be converted to string in /in/PRZlB on line 5
Process exited with code 255.
Output for 5.2.0 - 5.3.29
Strict Standards: Creating default object from empty value in /in/PRZlB on line 2 Catchable fatal error: Object of class stdClass could not be converted to string in /in/PRZlB on line 5
Process exited with code 255.
Output for 5.1.0 - 5.1.6
Strict Standards: Creating default object from empty value in /in/PRZlB on line 2 Object id #1 Notice: Undefined variable: user in /in/PRZlB on line 7 Notice: Trying to get property of non-object in /in/PRZlB on line 7 Notice: Undefined variable: user in /in/PRZlB on line 8
Output for 5.0.4 - 5.0.5
Strict Standards: Creating default object from empty value in /in/PRZlB on line 2 Object id #1 Notice: Undefined variable: user in /in/PRZlB on line 6 Notice: Undefined variable: name in /in/PRZlB on line 7 Notice: Undefined variable: user in /in/PRZlB on line 7 Notice: Trying to get property of non-object in /in/PRZlB on line 7 Notice: Undefined variable: user in /in/PRZlB on line 8
Output for 5.0.0 - 5.0.3
Strict Standards: Creating default object from empty value in /in/PRZlB on line 2 Object id #1 Notice: Undefined variable: user in /in/PRZlB on line 6 Notice: Undefined variable: name in /in/PRZlB on line 7 Notice: Undefined variable: user in /in/PRZlB on line 7 Notice: Trying to get property of non-object in /in/PRZlB on line 7 Notice: Undefined variable: user in /in/PRZlB on line 8
Output for 4.3.0 - 4.4.9
Object Notice: Undefined variable: user in /in/PRZlB on line 6 Notice: Undefined variable: name in /in/PRZlB on line 7 Notice: Undefined variable: user in /in/PRZlB on line 7 Notice: Undefined variable: user in /in/PRZlB on line 8