3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo (0x00+2)/n; echo (0x00+0x02)/n; echo (0x00 + 2)/n;
Output for 7.1.0
Notice: Use of undefined constant n - assumed 'n' in /in/hMipd on line 2 Warning: A non-numeric value encountered in /in/hMipd on line 2 Warning: Division by zero in /in/hMipd on line 2 INF Notice: Use of undefined constant n - assumed 'n' in /in/hMipd on line 3 Warning: A non-numeric value encountered in /in/hMipd on line 3 Warning: Division by zero in /in/hMipd on line 3 INF Notice: Use of undefined constant n - assumed 'n' in /in/hMipd on line 4 Warning: A non-numeric value encountered in /in/hMipd on line 4 Warning: Division by zero in /in/hMipd on line 4 INF
Output for 7.0.0 - 7.0.14
Notice: Use of undefined constant n - assumed 'n' in /in/hMipd on line 2 Warning: Division by zero in /in/hMipd on line 2 INF Notice: Use of undefined constant n - assumed 'n' in /in/hMipd on line 3 Warning: Division by zero in /in/hMipd on line 3 INF Notice: Use of undefined constant n - assumed 'n' in /in/hMipd on line 4 Warning: Division by zero in /in/hMipd on line 4 INF
Output for 4.3.0 - 5.6.28
Notice: Use of undefined constant n - assumed 'n' in /in/hMipd on line 2 Warning: Division by zero in /in/hMipd on line 2 Notice: Use of undefined constant n - assumed 'n' in /in/hMipd on line 3 Warning: Division by zero in /in/hMipd on line 3 Notice: Use of undefined constant n - assumed 'n' in /in/hMipd on line 4 Warning: Division by zero in /in/hMipd on line 4