3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php // Works fine $test = ( function_exists('apc_fetch') || ini_get('apc.enabled') ); // Fail with "Call to undefined function function_exists()" $test = ( true || function_exists('apc_fetch') ); // Works fine because true do lazy check in OR $test = ( true || function_exists('apc_fetch') ); // Fail with "Call to undefined function function_exists()" $test = ( false || function_exists('apc_fetch') );
Output for 4.3.0 - 7.1.0