3v4l.org

run code in 300+ PHP versions simultaneously
<?php $test = INF; printf("%s\n%f\n%s\n%d\n", INF, INF, gettype($test), PHP_INT_MAX > INF);

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.01016.63
8.3.50.0130.00621.02
8.3.40.0160.00418.67
8.3.30.0140.00418.59
8.3.20.0030.00518.51
8.3.10.0000.00820.23
8.3.00.0040.00417.68
8.2.180.0040.01116.50
8.2.170.0040.01122.96
8.2.160.0070.00719.11
8.2.150.0050.00324.18
8.2.140.0000.00824.66
8.2.130.0140.00421.05
8.2.120.0040.00426.35
8.2.110.0030.00619.39
8.2.100.0110.00017.78
8.2.90.0030.00519.17
8.2.80.0030.00517.97
8.2.70.0030.00617.50
8.2.60.0040.00418.04
8.2.50.0040.00418.10
8.2.40.0040.00420.26
8.2.30.0000.00720.48
8.2.20.0020.00517.52
8.2.10.0030.00517.92
8.2.00.0000.00718.11
8.1.280.0090.00925.92
8.1.270.0040.00423.89
8.1.260.0090.00028.09
8.1.250.0000.00728.09
8.1.240.0050.00322.10
8.1.230.0040.00718.90
8.1.220.0030.00617.74
8.1.210.0040.00418.77
8.1.200.0080.00017.35
8.1.190.0030.00517.13
8.1.180.0000.00718.10
8.1.170.0080.00019.03
8.1.160.0050.00218.91
8.1.150.0040.00418.78
8.1.140.0000.00719.47
8.1.130.0070.00017.71
8.1.120.0050.00217.50
8.1.110.0000.00717.33
8.1.100.0000.00717.45
8.1.90.0000.00817.34
8.1.80.0030.00517.41
8.1.70.0070.00017.43
8.1.60.0000.00817.61
8.1.50.0030.00517.48
8.1.40.0040.00417.43
8.1.30.0040.00417.56
8.1.20.0040.00417.57
8.1.10.0040.00417.43
8.1.00.0000.00717.36
8.0.300.0000.00818.77
8.0.290.0040.00416.63
8.0.280.0030.00318.33
8.0.270.0030.00317.10
8.0.260.0040.00417.18
8.0.250.0040.00416.74
8.0.240.0000.00816.86
8.0.230.0070.00016.81
8.0.220.0040.00416.72
8.0.210.0030.00316.70
8.0.200.0030.00316.87
8.0.190.0030.00616.78
8.0.180.0030.00316.85
8.0.170.0040.00416.86
8.0.160.0030.00416.88
8.0.150.0040.00416.70
8.0.140.0040.00416.83
8.0.130.0030.00313.30
8.0.120.0040.00416.89
8.0.110.0000.00816.86
8.0.100.0040.00416.71
8.0.90.0050.00316.70
8.0.80.0030.01316.84
8.0.70.0070.00016.79
8.0.60.0080.00016.70
8.0.50.0070.00016.84
8.0.30.0110.00816.97
8.0.20.0140.00517.40
8.0.10.0070.00016.97
8.0.00.0130.00916.71
7.4.330.0000.00415.08
7.4.320.0030.00316.55
7.4.300.0030.00316.58
7.4.290.0050.00516.59
7.4.280.0040.00416.43
7.4.270.0030.00316.57
7.4.260.0050.00616.49
7.4.250.0000.00716.54
7.4.240.0000.00716.63
7.4.230.0030.00316.64
7.4.220.0060.01316.38
7.4.210.0000.01616.67
7.4.200.0030.00316.56
7.4.160.0060.00916.61
7.4.150.0110.00717.40
7.4.140.0110.00917.86
7.4.130.0080.00916.48
7.4.120.0080.00916.46
7.4.110.0030.01316.49
7.4.100.0080.00816.58
7.4.90.0130.00616.57
7.4.80.0030.01919.39
7.4.70.0060.01016.55
7.4.60.0080.00816.64
7.4.50.0060.01016.33
7.4.40.0180.00416.43
7.4.30.0060.00916.18
7.4.00.0040.01014.80
7.3.330.0000.00613.18
7.3.320.0050.00012.99
7.3.310.0020.00516.04
7.3.300.0040.00416.23
7.3.290.0100.00716.24
7.3.280.0120.00616.19
7.3.270.0100.01017.40
7.3.260.0070.01016.08
7.3.250.0140.00616.24
7.3.240.0050.01316.21
7.3.230.0100.01316.43
7.3.210.0100.00716.40
7.3.200.0130.00319.39
7.3.190.0070.00816.13
7.3.180.0080.00816.56
7.3.170.0060.00916.25
7.3.160.0040.01216.19
7.3.120.0100.00714.61
7.3.110.0140.00414.94
7.3.100.0090.00914.68
7.3.90.0120.00614.65
7.3.80.0000.01115.00
7.3.70.0000.01814.82
7.3.60.0040.00814.80
7.3.50.0030.00614.45
7.3.40.0060.00914.57
7.3.30.0080.00814.56
7.3.20.0060.00616.44
7.3.10.0080.00416.40
7.3.00.0060.00816.63
7.2.330.0140.01216.30
7.2.320.0070.01616.38
7.2.310.0090.00616.28
7.2.300.0110.01116.20
7.2.290.0030.01616.43
7.2.250.0060.01114.74
7.2.240.0040.01515.07
7.2.230.0030.01614.98
7.2.220.0060.01215.09
7.2.210.0070.00714.78
7.2.200.0030.01014.90
7.2.190.0090.00615.00
7.2.180.0000.01414.79
7.2.170.0060.00614.83
7.2.130.0000.01016.80
7.2.120.0040.00716.91
7.2.110.0060.00917.00
7.2.100.0100.00716.73
7.2.90.0060.00916.69
7.2.80.0070.00316.56
7.2.70.0030.01216.59
7.2.60.0020.01016.52
7.2.50.0030.00816.81
7.2.40.0030.01016.73
7.2.30.0100.00716.75
7.2.20.0060.01016.74
7.2.10.0070.00716.82
7.2.00.0020.01118.04
7.1.330.0060.00915.82
7.1.320.0070.00415.80
7.1.310.0000.01415.47
7.1.300.0070.00715.75
7.1.290.0120.00015.85
7.1.280.0040.01115.86
7.1.270.0080.00615.87
7.1.260.0070.00715.45
7.1.250.0060.00915.63
7.1.200.0020.00915.66
7.1.100.0030.01317.92
7.1.70.0000.00717.25
7.1.60.0000.01217.09
7.1.00.0030.07722.32
7.0.200.0040.01416.70
7.0.60.0270.07719.92
7.0.50.0230.05320.34
7.0.40.0270.05320.28
7.0.30.0270.07720.23
7.0.20.0270.06020.33
7.0.10.0230.05720.38
7.0.00.0230.06320.21
5.6.280.0030.07321.07
5.6.210.0070.08020.66
5.6.200.0100.06321.13
5.6.190.0270.06721.16
5.6.180.0300.05321.18
5.6.170.0270.05321.15
5.6.160.0300.05321.13
5.6.150.0270.05321.04
5.6.140.0230.05721.03
5.6.130.0270.05321.17
5.6.120.0070.06320.93
5.6.110.0130.06021.02
5.6.100.0300.05321.03
5.6.90.0370.07321.01
5.6.80.0300.05020.51
5.6.70.0270.05720.41
5.6.60.0300.05020.53
5.6.50.0170.06020.45
5.6.40.0300.05020.43
5.6.30.0400.03720.54
5.6.20.0200.06320.48
5.6.10.0130.05020.28
5.6.00.0130.05720.46
5.5.350.0300.06720.37
5.5.340.0100.06020.83
5.5.330.0270.07020.87
5.5.320.0300.05020.82
5.5.310.0300.06020.92
5.5.300.0270.06020.85
5.5.290.0200.07020.82
5.5.280.0130.05720.86
5.5.270.0300.05320.86
5.5.260.0230.06020.89
5.5.250.0200.06020.64
5.5.240.0300.05020.36
5.5.230.0270.05720.36
5.5.220.0300.05020.39
5.5.210.0270.05020.35
5.5.200.0300.04720.19
5.5.190.0300.05320.22
5.5.180.0270.05020.19
5.5.160.0330.05320.32
5.5.150.0330.05320.31
5.5.140.0330.04320.22
5.5.130.0230.05320.35
5.5.120.0270.04720.25
5.5.110.0370.04320.36
5.5.100.0300.06020.07
5.5.90.0400.05020.10
5.5.80.0370.04320.14
5.5.70.0230.06020.17
5.5.60.0330.07320.00
5.5.50.0330.04320.05
5.5.40.0400.06020.02
5.5.30.0230.05320.09
5.5.20.0300.05020.25
5.5.10.0370.04319.98
5.5.00.0230.05320.10

preferences:
34.31 ms | 401 KiB | 5 Q