3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump( method_exists(null, 'foo') ); var_dump( property_exists(null, 'foo') );

preferences:
52.66 ms | 402 KiB | 5 Q