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.31, 8.2.0 - 8.2.27, 8.3.0 - 8.3.15, 8.4.1 - 8.4.2
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:
75.92 ms | 408 KiB | 5 Q