3v4l.org

run code in 300+ PHP versions simultaneously
<?php $value = 3.5; echo intval($value);

Abusive script

This script was stopped while abusing our resources

Output for 5.6.0 - 5.6.28, 5.6.32 - 5.6.38, 5.6.40, 7.0.0 - 7.0.4, 7.0.6 - 7.0.8, 7.0.14 - 7.0.15, 7.0.17, 7.0.20 - 7.0.30, 7.0.32 - 7.0.33, 7.1.0 - 7.1.29, 7.1.31, 7.1.33, 7.2.0 - 7.2.7, 7.2.9 - 7.2.17, 7.2.19 - 7.2.26, 7.3.0 - 7.3.5, 7.3.7 - 7.3.13, 7.4.0 - 7.4.1
3
Output for 7.3.6
3
Process exited with code 137.
Output for 5.6.29 - 5.6.31, 5.6.39, 7.0.5, 7.0.9 - 7.0.13, 7.0.16, 7.0.18 - 7.0.19, 7.0.31, 7.1.30, 7.1.32, 7.2.8, 7.2.18

Process exited with code 137.

preferences:
134.92 ms | 403 KiB | 157 Q