3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = new stdClass; var_dump(call_user_func('call_user_func','assert','new stdclass',$a));
based on XCRIZ
Output for 7.1.0 - 7.2.0
Warning: Cannot call assert() with string argument dynamically in /in/pUYAA on line 4 bool(false)
Output for 7.0.0 - 7.0.20
bool(true)
Output for 5.4.9 - 5.6.28
Warning: assert() expects parameter 2 to be string, object given in /in/pUYAA on line 4 NULL
Output for 5.3.19 - 5.3.29
Warning: assert() expects exactly 1 parameter, 2 given in /in/pUYAA on line 4 NULL