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.0100.00716.50
8.3.50.0140.00521.21
8.3.40.0150.00618.98
8.3.30.0040.01118.85
8.3.20.0080.00020.34
8.3.10.0040.00421.74
8.3.00.0040.00421.73
8.2.180.0040.01116.38
8.2.170.0090.00622.96
8.2.160.0150.00020.47
8.2.150.0040.00424.18
8.2.140.0000.00824.66
8.2.130.0000.00726.16
8.2.120.0070.00019.89
8.2.110.0060.00320.92
8.2.100.0130.00018.04
8.2.90.0000.00719.23
8.2.80.0030.00517.97
8.2.70.0060.00317.63
8.2.60.0050.00317.93
8.2.50.0030.00518.07
8.2.40.0030.00522.18
8.2.30.0000.00719.32
8.2.20.0040.00417.62
8.2.10.0000.00718.02
8.2.00.0000.00717.99
8.1.280.0150.00325.92
8.1.270.0150.00022.13
8.1.260.0030.00526.35
8.1.250.0080.00028.09
8.1.240.0100.00022.45
8.1.230.0110.00017.82
8.1.220.0070.00017.74
8.1.210.0030.00618.77
8.1.200.0000.01017.23
8.1.190.0050.00317.10
8.1.180.0040.00418.10
8.1.170.0040.00418.46
8.1.160.0000.00720.71
8.1.150.0040.00420.63
8.1.140.0050.00319.48
8.1.130.0030.00617.69
8.1.120.0060.00317.48
8.1.110.0060.00317.35
8.1.100.0030.00417.35
8.1.90.0040.00417.38
8.1.80.0040.00417.49
8.1.70.0000.00717.48
8.1.60.0060.00317.62
8.1.50.0040.00417.43
8.1.40.0050.00317.48
8.1.30.0000.00917.66
8.1.20.0050.00217.59
8.1.10.0040.00417.52
8.1.00.0040.00417.43
8.0.300.0040.00418.77
8.0.290.0040.00416.75
8.0.280.0030.00318.48
8.0.270.0040.00417.16
8.0.260.0000.00617.26
8.0.250.0030.00316.98
8.0.240.0060.00317.01
8.0.230.0030.00317.04
8.0.220.0000.00816.94
8.0.210.0000.00716.98
8.0.200.0000.00717.01
8.0.190.0070.00016.85
8.0.180.0050.00217.00
8.0.170.0040.00416.99
8.0.160.0000.00716.95
8.0.150.0000.00716.91
8.0.140.0070.00016.81
8.0.130.0050.00013.39
8.0.120.0080.00016.80
8.0.110.0040.00416.84
8.0.100.0050.00316.84
8.0.90.0040.00416.82
8.0.80.0090.00616.89
8.0.70.0030.00616.90
8.0.60.0040.00416.80
8.0.50.0000.00716.77
8.0.30.0110.00617.24
8.0.20.0110.00917.40
8.0.10.0000.00716.85
8.0.00.0140.00416.72
7.4.330.0050.00016.67
7.4.320.0030.00316.61
7.4.300.0000.00816.60
7.4.290.0030.00316.50
7.4.280.0070.00016.68
7.4.270.0000.00616.43
7.4.260.0040.00416.45
7.4.250.0030.00516.42
7.4.240.0070.00016.51
7.4.230.0000.00716.58
7.4.220.0100.01016.52
7.4.210.0120.00516.48
7.4.200.0030.00316.67
7.4.160.0100.00616.62
7.4.150.0100.01317.40
7.4.140.0100.01617.86
7.4.130.0060.01816.50
7.4.120.0100.01016.55
7.4.110.0060.01216.66
7.4.100.0100.00616.51
7.4.90.0100.00616.50
7.4.80.0070.01119.39
7.4.70.0060.01316.31
7.4.60.0140.00416.53
7.4.50.0000.01516.57
7.4.40.0090.00916.39
7.4.30.0140.00416.60
7.4.00.0130.00314.81
7.3.330.0000.00513.10
7.3.320.0000.00613.01
7.3.310.0070.00016.12
7.3.300.0070.00016.32
7.3.290.0070.00016.29
7.3.280.0050.00916.28
7.3.270.0060.01217.40
7.3.260.0150.00416.28
7.3.240.0100.01116.42
7.3.230.0070.01016.57
7.3.210.0070.01016.43
7.3.200.0120.01219.39
7.3.190.0120.00916.43
7.3.180.0130.00316.38
7.3.170.0120.00616.27
7.3.160.0100.01016.61
7.3.10.0220.00616.60
7.3.00.0330.00016.15
7.2.330.0070.01116.37
7.2.320.0150.00416.47
7.2.310.0030.01316.66
7.2.300.0000.01816.47
7.2.290.0090.00616.18
7.2.130.0180.00616.23
7.2.120.0150.00316.36
7.2.110.0250.00616.67
7.2.100.0090.00616.26
7.2.90.0070.01016.45
7.2.80.0170.00716.84
7.2.70.0100.01016.67
7.2.60.0140.00716.36
7.2.50.0070.00416.47
7.2.40.0100.00716.70
7.2.30.0130.00316.31
7.2.20.0100.00716.21
7.2.10.0130.00916.41
7.2.00.0050.00918.13
7.1.250.0120.00614.95
7.1.100.0000.01117.68
7.1.70.0030.00516.97
7.1.60.0060.01919.40
7.1.50.0030.01216.51
7.1.00.0070.07322.46
7.0.200.0490.00914.46
7.0.60.0270.08319.89
7.0.50.0070.03717.80
7.0.40.0100.07719.98
7.0.30.0200.03720.13
7.0.20.0270.03720.08
7.0.10.0000.04720.12
7.0.00.0170.07020.01
5.6.280.0030.03020.98
5.6.210.0070.04020.64
5.6.200.0070.03718.15
5.6.190.0170.06720.41
5.6.180.0170.04320.39
5.6.170.0300.07020.38
5.6.160.0070.04320.49
5.6.150.0130.08018.16
5.6.140.0070.05718.21
5.6.130.0100.07718.21
5.6.120.0070.05020.98
5.6.110.0170.06721.00
5.6.100.0000.07021.00
5.6.90.0070.08321.07
5.6.80.0130.07320.39
5.5.350.0230.08020.40
5.5.340.0100.07717.91
5.5.330.0000.04720.14
5.5.320.0300.05320.27
5.5.310.0230.06320.24
5.5.300.0030.04317.97
5.5.290.0070.08017.91
5.5.280.0070.08020.89
5.5.270.0170.07320.67
5.5.260.0030.08020.83
5.5.250.0030.08720.70
5.5.240.0100.03720.15

preferences:
60.37 ms | 401 KiB | 5 Q