3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $referenceToFunction = strpos; var_dump( $referenceToFunction("foo", "o") );
Output for 4.3.0 - 7.1.0
Notice: Use of undefined constant strpos - assumed 'strpos' in /in/O9o7t on line 3 int(1)