3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump("0x20" + 0);
Output for 8.0.0 - 8.0.30, 8.1.0 - 8.1.30, 8.2.0 - 8.2.24, 8.3.0 - 8.3.12
Warning: A non-numeric value encountered in /in/2elvi on line 3 int(0)
Output for 7.1.0 - 7.1.33, 7.2.0 - 7.2.33, 7.3.0 - 7.3.31, 7.4.0 - 7.4.33
Notice: A non well formed numeric value encountered in /in/2elvi on line 3 int(0)
Output for 7.3.32 - 7.3.33
int(0)

preferences:
87.49 ms | 408 KiB | 5 Q