3v4l.org

run code in 300+ PHP versions simultaneously
<?php error_reporting(0); if (!is_finite(1.0/0.0) ) { echo is_infinite(1.0/0.0); }

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.0150.00616.75
8.3.50.0120.00821.85
8.3.40.0040.01118.79
8.3.30.0040.01118.72
8.3.20.0040.00420.04
8.3.10.0040.00423.66
8.3.00.0000.00819.23
8.2.180.0070.00716.38
8.2.170.0080.00822.96
8.2.160.0040.01120.50
8.2.150.0050.00324.18
8.2.140.0040.00424.66
8.2.130.0040.00417.50
8.2.120.0070.00026.35
8.2.110.0060.00319.29
8.2.100.0000.01317.91
8.2.90.0040.00419.05
8.2.80.0030.00617.97
8.2.70.0030.00717.50
8.2.60.0000.00817.93
8.2.50.0050.00318.10
8.2.40.0030.00519.53
8.2.30.0000.00820.61
8.2.20.0000.01017.75
8.2.10.0000.00717.92
8.2.00.0040.00418.04
8.1.280.0170.00325.92
8.1.270.0030.00723.97
8.1.260.0040.00428.09
8.1.250.0070.00028.09
8.1.240.0060.00322.06
8.1.230.0060.00617.83
8.1.220.0000.00917.74
8.1.210.0050.00518.77
8.1.200.0060.00317.22
8.1.190.0030.00617.23
8.1.180.0030.00518.10
8.1.170.0040.00420.12
8.1.160.0000.00721.88
8.1.150.0080.00018.66
8.1.140.0000.00819.49
8.1.130.0000.00717.49
8.1.120.0060.00317.33
8.1.110.0040.00417.34
8.1.100.0040.00417.21
8.1.90.0030.00317.35
8.1.80.0040.00417.24
8.1.70.0030.00317.33
8.1.60.0040.00417.39
8.1.50.0030.00617.34
8.1.40.0040.00417.45
8.1.30.0040.00717.56
8.1.20.0040.00417.58
8.1.10.0070.00017.55
8.1.00.0080.00017.34
8.0.300.0060.00320.00
8.0.290.0000.00816.75
8.0.280.0070.00018.41
8.0.270.0030.00317.23
8.0.260.0030.00317.18
8.0.250.0060.00016.97
8.0.240.0060.00316.92
8.0.230.0000.00716.96
8.0.220.0050.00216.88
8.0.210.0030.00516.84
8.0.200.0030.00316.95
8.0.190.0000.00716.93
8.0.180.0030.00316.91
8.0.170.0060.00316.91
8.0.160.0070.00016.91
8.0.150.0030.00316.72
8.0.140.0000.00716.81
8.0.130.0000.00613.29
8.0.120.0090.00016.73
8.0.110.0060.00316.84
8.0.100.0040.00416.76
8.0.90.0070.00016.97
8.0.80.0140.00316.85
8.0.70.0000.00816.93
8.0.60.0040.00416.95
8.0.50.0040.00416.78
8.0.30.0080.00817.04
8.0.20.0120.00717.40
8.0.10.0000.00716.77
8.0.00.0080.01116.72
7.4.330.0050.00016.76
7.4.320.0030.00316.37
7.4.300.0000.00616.34
7.4.290.0000.00716.51
7.4.280.0070.00016.48
7.4.270.0030.00316.44
7.4.260.0070.00016.48
7.4.250.0040.00416.42
7.4.240.0020.00516.38
7.4.230.0030.00316.59
7.4.220.0100.01016.40
7.4.210.0070.00716.33
7.4.200.0030.00316.11
7.4.160.0100.01016.26
7.4.150.0130.00317.40
7.4.140.0090.00917.86
7.4.130.0100.01016.57
7.4.120.0100.00816.38
7.4.110.0030.01516.45
7.4.100.0030.01316.29
7.4.90.0060.01116.46
7.4.80.0100.01319.39
7.4.70.0040.01616.45
7.4.60.0030.01216.45
7.4.50.0070.00716.30
7.4.40.0120.00616.46
7.4.30.0160.00716.44
7.4.00.0130.00014.92
7.3.330.0050.00212.94
7.3.320.0030.00313.09
7.3.310.0000.00816.27
7.3.300.0030.00316.10
7.3.290.0080.00716.16
7.3.280.0110.00616.21
7.3.270.0130.00617.40
7.3.260.0080.00916.33
7.3.250.0080.00916.31
7.3.240.0150.00416.30
7.3.230.0080.00816.40
7.3.210.0150.00316.41
7.3.200.0150.00016.31
7.3.190.0120.00816.12
7.3.180.0150.00516.41
7.3.170.0170.00316.27
7.3.160.0070.01016.28
7.3.120.0030.01414.57
7.3.110.0040.01414.75
7.3.100.0140.00014.87
7.3.90.0070.00714.41
7.3.80.0000.01114.75
7.3.70.0080.00614.86
7.3.60.0040.01214.84
7.3.50.0030.01014.74
7.3.40.0030.01214.84
7.3.30.0100.00314.72
7.3.20.0100.00316.41
7.3.10.0070.01016.58
7.3.00.0040.01216.62
7.2.330.0090.00616.40
7.2.320.0130.00616.61
7.2.310.0120.00416.42
7.2.300.0070.01116.57
7.2.290.0050.01116.23
7.2.240.0060.00614.59
7.2.230.0040.01115.09
7.2.220.0130.00314.98
7.2.210.0000.01614.75
7.2.200.0060.00315.09
7.2.190.0030.00914.86
7.2.180.0040.00814.51
7.2.170.0070.01015.00
7.2.160.0080.00614.56
7.2.150.0040.00816.57
7.2.140.0030.01316.87
7.2.130.0070.01016.77
7.2.120.0030.01416.72
7.2.110.0030.01016.76
7.2.100.0000.01416.79
7.2.90.0060.01016.65
7.2.80.0000.01516.82
7.2.70.0120.00016.70
7.2.60.0130.00416.59
7.2.50.0000.01616.88
7.2.40.0030.00716.86
7.2.30.0070.00717.04
7.2.20.0100.00316.65
7.2.10.0060.00316.91
7.2.00.0080.00517.96
7.1.330.0030.01215.73
7.1.320.0000.01615.55
7.1.310.0060.01015.88
7.1.300.0030.01115.68
7.1.290.0030.01015.77
7.1.280.0070.00715.64
7.1.270.0110.00415.50
7.1.260.0060.00315.71
7.1.250.0050.00315.40
7.1.200.0070.00415.87
7.1.100.0060.00917.77
7.1.70.0100.01017.02
7.1.60.0090.01619.36
7.1.50.0030.01716.93
7.1.00.0030.07322.45
7.0.200.0050.00316.66
7.0.60.0100.06319.83
7.0.50.0070.07717.83
7.0.40.0030.05320.04
7.0.30.0400.04720.21
7.0.20.0430.06020.20
7.0.10.0100.07020.13
7.0.00.0170.05720.20
5.6.280.0000.03321.00
5.6.210.0030.06720.48
5.6.200.0070.06318.21
5.6.190.0170.06720.58
5.6.180.0230.04720.40
5.6.170.0270.04020.51
5.6.160.0230.05020.51
5.6.150.0100.08018.12
5.6.140.0100.06318.09
5.6.130.0100.04718.09
5.6.120.0100.08020.98
5.6.110.0030.08721.05
5.6.100.0070.06321.13
5.6.90.0170.05721.02
5.6.80.0030.04020.52
5.5.350.4270.04020.52
5.5.340.0100.08017.95
5.5.330.0100.08320.12
5.5.320.0070.04320.18
5.5.310.0230.03720.27
5.5.300.0130.07317.96
5.5.290.0070.04317.95
5.5.280.0170.07320.63
5.5.270.0030.04720.75
5.5.260.0070.04720.83
5.5.250.0030.04020.65
5.5.240.0270.06020.25

preferences:
52.86 ms | 401 KiB | 5 Q