3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php function r_null(){ return null; } function r_estr(){ return ''; } function r_tstr(){ return 'hi'; } function r_rstr(){ return 'bye'; } echo r_null() | r_estr() | r_tstr() | r_rstr();
Output for 7.1.0
Warning: A non-numeric value encountered in /in/4Wrha on line 7 Warning: A non-numeric value encountered in /in/4Wrha on line 7 Warning: A non-numeric value encountered in /in/4Wrha on line 7 0
Output for 4.3.0 - 7.0.14
0