3v4l.org

run code in 300+ PHP versions simultaneously
<?php $pippo = 5; if(is_int($pippo) { echo 'int'; }else { echo 'non int'; }

Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).

VersionSystem time (s)User time (s)Memory (MiB)
5.4.260.0070.06318.79
5.4.250.0200.07318.79
5.4.240.0300.06018.96
5.4.230.0230.06718.80
5.4.220.0230.05018.97
5.4.210.0070.06018.95
5.4.200.0170.04018.75
5.4.190.0030.05718.94
5.4.180.0030.08318.80
5.4.170.0170.04318.90
5.4.160.0170.04019.01
5.4.150.0100.05318.96
5.4.140.0070.05316.26
5.4.130.0130.06716.41
5.4.120.0030.05316.58
5.4.110.0100.05316.49
5.4.100.0100.04716.63
5.4.90.0170.05716.39
5.4.80.0030.05316.45
5.4.70.0130.04316.36
5.4.60.0070.04716.46
5.4.50.0100.07016.37
5.4.40.0030.05316.54
5.4.30.0100.04316.45
5.4.20.0070.05016.67
5.4.10.0130.06716.31
5.4.00.0200.04315.81
5.3.280.0170.06714.64
5.3.270.0100.05014.65
5.3.260.0130.04314.38
5.3.250.0130.05314.76
5.3.240.0130.05014.62
5.3.230.0070.05714.61
5.3.220.0030.05314.58
5.3.210.0030.07014.57
5.3.200.0100.04714.58
5.3.190.0070.05314.58
5.3.180.0130.04714.45
5.3.170.0130.07014.57
5.3.160.0100.05014.58
5.3.150.0030.05714.66
5.3.140.0000.05714.55
5.3.130.0100.05714.57
5.3.120.0070.05314.43
5.3.110.0070.06014.56
5.3.100.0030.07714.13
5.3.90.0130.04713.71
5.3.80.0030.05713.72
5.3.70.0100.06014.19
5.3.60.0070.05313.89
5.3.50.0100.05013.89
5.3.40.0130.04713.87
5.3.30.0100.04714.00
5.3.20.0170.03713.61
5.3.10.0030.05013.57
5.3.00.0070.05013.80
5.2.170.0000.04311.07
5.2.160.0100.03311.25
5.2.150.0000.04711.13
5.2.140.0030.04711.16
5.2.130.0100.03311.00
5.2.120.0030.04011.09
5.2.110.0070.03711.11
5.2.100.0030.04010.86
5.2.90.0070.04010.86
5.2.80.0030.05010.98
5.2.70.0030.04310.99
5.2.60.0030.04311.20
5.2.50.0130.03011.02
5.2.40.0200.03011.00
5.2.30.0030.04310.99
5.2.20.0030.04310.79
5.2.10.0070.03710.86
5.2.00.0130.04310.79
5.1.60.0070.0339.95
5.1.50.0030.04310.05
5.1.40.0200.02010.01
5.1.30.0070.03310.16
5.1.20.0100.04710.34
5.1.10.0030.0379.83
5.1.00.0030.05310.16
5.0.50.0070.0378.78
5.0.40.0070.0238.49
5.0.30.0070.0408.13
5.0.20.0100.0238.34
5.0.10.0030.0278.17
5.0.00.0000.0438.21
4.4.90.0000.0236.46
4.4.80.0000.0236.46
4.4.70.0030.0276.46
4.4.60.0030.0206.46
4.4.50.0030.0206.46
4.4.40.0000.0376.46
4.4.30.0030.0206.46
4.4.20.0000.0276.46
4.4.10.0000.0336.46
4.4.00.0100.0376.46
4.3.110.0030.0206.46
4.3.100.0000.0236.46
4.3.90.0070.0236.46
4.3.80.0030.0336.46
4.3.70.0100.0106.46
4.3.60.0000.0236.46
4.3.50.0000.0276.46
4.3.40.0000.0336.46
4.3.30.0000.0236.46
4.3.20.0000.0236.46
4.3.10.0000.0236.46
4.3.00.0030.0207.80

preferences:
135.93 ms | 1394 KiB | 7 Q