3v4l.org

run code in 300+ PHP versions simultaneously
<?php $id = "1025325'--"; $id = 0 + $id; if (!$id) print("not number"); else print("number");

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)
8.3.60.0070.01016.63
8.3.50.0110.00721.20
8.3.40.0120.00418.71
8.3.30.0070.00718.76
8.3.20.0040.00420.35
8.3.10.0050.00321.82
8.3.00.0070.00021.64
8.2.180.0120.00316.32
8.2.170.0150.00622.96
8.2.160.0070.01020.39
8.2.150.0080.00025.66
8.2.140.0060.00324.66
8.2.130.0050.00321.11
8.2.120.0070.00026.35
8.2.110.0000.00921.11
8.2.100.0040.00818.03
8.2.90.0030.00619.22
8.2.80.0040.00417.97
8.2.70.0030.00617.75
8.2.60.0050.00317.93
8.2.50.0040.00418.07
8.2.40.0000.00822.33
8.2.30.0000.00719.31
8.2.20.0040.00417.73
8.2.10.0040.00418.14
8.2.00.0040.00418.16
8.1.280.0140.00725.92
8.1.270.0000.00822.00
8.1.260.0040.00428.09
8.1.250.0000.00728.09
8.1.240.0000.00922.46
8.1.230.0080.00317.64
8.1.220.0030.00617.74
8.1.210.0030.00518.77
8.1.200.0060.00317.23
8.1.190.0000.00917.23
8.1.180.0000.00818.10
8.1.170.0040.00418.56
8.1.160.0060.00320.61
8.1.150.0040.00420.67
8.1.140.0030.00519.69
8.1.130.0070.00317.61
8.1.120.0000.01017.51
8.1.110.0030.00517.49
8.1.100.0000.00717.41
8.1.90.0030.00517.38
8.1.80.0050.00317.45
8.1.70.0000.00717.46
8.1.60.0000.00917.57
8.1.50.0030.00617.46
8.1.40.0030.00517.48
8.1.30.0050.00317.68
8.1.20.0040.00417.55
8.1.10.0070.00017.41
8.1.00.0000.00817.33
8.0.300.0060.00318.77
8.0.290.0040.00416.62
8.0.280.0000.00718.39
8.0.270.0030.00317.26
8.0.260.0030.00317.15
8.0.250.0060.00016.90
8.0.240.0040.00417.04
8.0.230.0030.00317.01
8.0.220.0000.00716.99
8.0.210.0070.00016.99
8.0.200.0030.00317.00
8.0.190.0000.00817.07
8.0.180.0000.00716.98
8.0.170.0080.00016.87
8.0.160.0030.00616.90
8.0.150.0070.00016.96
8.0.140.0040.00416.95
8.0.130.0030.00313.42
8.0.120.0040.00416.92
8.0.110.0020.00516.88
8.0.100.0000.00716.82
8.0.90.0000.00717.00
8.0.80.0040.01316.89
8.0.70.0040.00416.80
8.0.60.0040.00416.95
8.0.50.0040.00416.97
8.0.30.0110.00616.84
8.0.20.0120.00917.40
8.0.10.0070.00016.89
8.0.00.0100.01016.77
7.4.330.0050.00016.76
7.4.320.0000.00616.60
7.4.300.0040.00416.40
7.4.290.0000.00716.59
7.4.280.0050.00316.59
7.4.270.0070.00016.59
7.4.260.0000.00716.56
7.4.250.0000.00816.55
7.4.240.0030.00316.40
7.4.230.0030.00316.60
7.4.220.0200.00316.47
7.4.210.0130.00516.54
7.4.200.0050.00316.63
7.4.160.0060.00916.55
7.4.150.0070.01517.40
7.4.140.0150.00617.86
7.4.130.0130.00616.62
7.4.120.0090.01216.51
7.4.110.0100.00716.57
7.4.100.0060.01016.30
7.4.90.0110.00616.54
7.4.80.0090.00919.39
7.4.70.0030.01316.41
7.4.60.0150.00616.39
7.4.50.0070.00716.42
7.4.40.0120.00616.35
7.4.30.0060.00916.52
7.4.00.0110.00314.89
7.3.330.0020.00213.01
7.3.320.0050.00013.25
7.3.310.0030.00316.18
7.3.300.0070.00016.30
7.3.290.0040.00416.35
7.3.280.0090.00916.31
7.3.270.0120.00617.40
7.3.260.0140.01116.52
7.3.240.0110.00816.37
7.3.230.0030.01316.43
7.3.210.0080.00816.52
7.3.200.0120.00919.39
7.3.190.0110.00416.41
7.3.180.0090.01216.24
7.3.170.0070.01016.56
7.3.160.0180.00416.50
7.2.330.0070.01016.65
7.2.320.0090.00916.44
7.2.310.0110.01116.73
7.2.300.0110.00516.49
7.2.290.0080.01116.54
7.2.60.0070.00716.54
7.2.00.0040.00819.07
7.1.200.0090.00015.62
7.1.100.0070.00418.07
7.1.70.0040.00417.00
7.1.60.0000.02219.40
7.1.50.0120.00917.02
7.1.00.0000.07722.44
7.0.200.0650.01014.32
7.0.60.0400.07719.91
7.0.50.0030.04017.85
7.0.40.0130.05020.03
7.0.30.0200.03720.23
7.0.20.0300.07720.01
7.0.10.0100.03720.19
7.0.00.0170.06020.00
5.6.280.0000.06720.78
5.6.210.0130.07720.61
5.6.200.0100.04318.17
5.6.190.0030.04320.57
5.6.180.0370.03720.49
5.6.170.0400.07020.63
5.6.160.0130.07320.44
5.6.150.0030.08718.17
5.6.140.0070.07018.18
5.6.130.0130.07318.17
5.6.120.0070.04720.97
5.6.110.0100.08321.08
5.6.100.0070.08320.95
5.6.90.0100.04721.00
5.6.80.0070.08720.53
5.5.350.0230.08320.39
5.5.340.0170.06317.96
5.5.330.0070.08320.37
5.5.320.0270.07320.27
5.5.310.0300.06020.32
5.5.300.0070.05017.95
5.5.290.0070.07017.92
5.5.280.0100.05320.68
5.5.270.0070.08720.71
5.5.260.0030.08320.78
5.5.250.0070.08020.70
5.5.240.0130.03020.15

preferences:
61.83 ms | 401 KiB | 5 Q