3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo +"0xaa";
Output for 8.0.1 - 8.0.26, 8.1.0 - 8.1.13, 8.2rc1 - rc3
Warning: A non-numeric value encountered in /in/mJqLQ on line 3 0
Output for 7.4.0 - 7.4.33
Notice: A non well formed numeric value encountered in /in/mJqLQ on line 3 0

preferences:
19.57 ms | 410 KiB | 5 Q