3v4l.org

run code in 300+ PHP versions simultaneously
<?php $x = '2d9'; $x++; // interprets '2d9' as hex, now $x == '2e0' $x++; // interprets '2e0' as a float, now $x == 3

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.40.0090.00618.41
8.3.30.0090.00618.54
8.3.20.0040.00420.12
8.3.10.0000.00823.36
8.3.00.0050.00319.66
8.2.170.0170.00322.96
8.2.160.0120.00918.97
8.2.150.0040.00424.18
8.2.140.0050.00324.66
8.2.130.0030.00319.27
8.2.120.0080.00026.35
8.2.110.0080.00320.38
8.2.100.0050.00517.84
8.2.90.0040.00419.08
8.2.80.0050.00317.97
8.2.70.0000.00817.50
8.2.60.0040.00417.93
8.2.50.0040.00418.10
8.2.40.0050.00320.35
8.2.30.0040.00421.07
8.2.20.0000.00818.05
8.2.10.0050.00317.86
8.2.00.0000.00718.03
8.1.270.0000.00722.19
8.1.260.0020.00526.35
8.1.250.0040.00428.09
8.1.240.0000.00922.49
8.1.230.0080.00419.09
8.1.220.0080.00017.74
8.1.210.0080.00018.77
8.1.200.0030.00617.25
8.1.190.0040.00417.23
8.1.180.0050.00318.10
8.1.170.0050.00318.65
8.1.160.0040.00419.01
8.1.150.0040.00420.61
8.1.140.0040.00419.51
8.1.130.0040.00418.73
8.1.120.0050.00317.39
8.1.110.0050.00217.36
8.1.100.0000.00817.33
8.1.90.0000.00817.31
8.1.80.0000.00817.27
8.1.70.0000.00817.43
8.1.60.0070.00017.49
8.1.50.0080.00017.41
8.1.40.0040.00417.41
8.1.30.0030.00617.57
8.1.20.0030.00617.56
8.1.10.0000.00717.41
8.1.00.0000.00717.44
8.0.300.0000.00818.77
8.0.290.0040.00416.63
8.0.280.0070.00018.30
8.0.270.0000.00717.16
8.0.260.0030.00516.66
8.0.250.0030.00316.89
8.0.240.0040.00416.86
8.0.230.0000.00616.78
8.0.220.0000.00716.86
8.0.210.0050.00216.69
8.0.200.0060.00016.89
8.0.190.0040.00416.73
8.0.180.0000.00716.90
8.0.170.0030.00316.75
8.0.160.0000.00716.77
8.0.150.0000.00716.75
8.0.140.0040.00416.69
8.0.130.0030.00313.30
8.0.120.0040.00416.80
8.0.110.0070.00016.82
8.0.100.0050.00316.83
8.0.90.0030.00616.88
8.0.80.0100.00616.70
8.0.70.0000.00816.72
8.0.60.0000.00716.73
8.0.50.0040.00316.68
8.0.30.0100.00816.94
8.0.20.0070.01117.40
8.0.10.0000.00816.73
8.0.00.0110.00516.77
7.4.330.0030.00315.55
7.4.320.0000.00616.41
7.4.300.0030.00316.50
7.4.290.0030.00716.51
7.4.280.0040.00416.52
7.4.270.0040.00416.52
7.4.260.0040.00416.42
7.4.250.0030.00616.48
7.4.240.0030.00316.38
7.4.230.0040.00416.62
7.4.220.0070.01116.55
7.4.210.0050.00816.45
7.4.200.0070.00016.55
7.4.160.0110.00616.36
7.4.150.0000.01817.40
7.4.140.0080.01017.86
7.4.130.0120.00616.52
7.4.120.0140.00416.47
7.4.110.0030.01316.30
7.4.100.0090.01616.48
7.4.90.0120.00616.40
7.4.80.0100.00719.39
7.4.70.0060.00916.43
7.4.60.0090.00916.54
7.4.50.0090.00616.46
7.4.40.0100.00716.42
7.4.30.0130.00616.20
7.4.00.0000.01714.74
7.3.330.0030.00312.95
7.3.320.0020.00213.02
7.3.310.0050.00216.33
7.3.300.0030.00316.23
7.3.290.0090.00816.14
7.3.280.0090.00916.18
7.3.270.0100.00717.40
7.3.260.0130.01716.14
7.3.250.0140.00816.40
7.3.240.0120.00416.19
7.3.230.0150.00416.27
7.3.210.0130.00616.20
7.3.200.0060.01216.25
7.3.190.0130.00716.44
7.3.180.0090.01216.14
7.3.170.0040.01216.28
7.3.160.0060.00916.52
7.3.120.0040.01114.77
7.3.110.0040.01114.92
7.3.100.0070.01014.91
7.3.90.0120.00314.71
7.3.80.0000.01014.81
7.3.70.0070.00714.63
7.3.60.0060.00614.40
7.3.50.0100.00614.68
7.3.40.0110.00314.70
7.3.30.0040.01114.79
7.3.20.0160.00016.36
7.3.10.0050.00916.41
7.3.00.0080.00616.54
7.2.330.0110.00816.38
7.2.320.0110.00716.57
7.2.310.0030.01316.31
7.2.300.0090.00816.20
7.2.290.0100.01416.57
7.2.240.0060.00914.72
7.2.230.0030.00914.90
7.2.220.0110.00414.81
7.2.210.0070.01114.69
7.2.200.0040.01114.84
7.2.190.0140.00314.56
7.2.180.0090.00914.75
7.2.170.0040.01114.79
7.2.160.0070.00714.62
7.2.150.0030.01216.72
7.2.140.0040.01416.74
7.2.130.0090.00516.64
7.2.120.0000.01516.65
7.2.110.0070.00616.76
7.2.100.0050.00916.63
7.2.90.0000.01316.73
7.2.80.0080.00516.58
7.2.70.0030.01216.78
7.2.60.0040.00816.70
7.2.50.0040.01116.81
7.2.40.0040.00916.79
7.2.30.0080.00816.69
7.2.20.0050.01016.68
7.2.10.0050.00816.68
7.2.00.0050.00817.68
7.1.330.0070.01015.58
7.1.320.0070.00715.66
7.1.310.0070.01015.72
7.1.300.0070.00715.59
7.1.290.0090.00615.74
7.1.280.0110.00415.57
7.1.270.0070.01015.76
7.1.260.0030.00715.44
7.1.250.0060.00415.52
7.1.200.0030.00815.69
7.1.100.0000.01418.00
7.1.70.0060.00916.94
7.1.60.0240.00735.10
7.1.50.0140.01434.73
7.1.40.0200.01734.05
7.1.30.0160.01634.27
7.1.20.0240.00734.68
7.1.10.0080.00416.45
7.1.00.0030.01016.50
7.0.200.0000.01216.69
7.0.190.0000.01216.55
7.0.180.0060.01116.21
7.0.170.0070.00716.34
7.0.160.0060.00616.30
7.0.150.0040.00816.09
7.0.140.0030.01016.20
7.0.130.0090.00816.33
7.0.120.0060.00916.32
7.0.110.0070.01116.26
7.0.100.0090.00916.10
7.0.90.0000.01416.16
7.0.80.0140.00016.08
7.0.70.0090.00916.04
7.0.60.0030.01015.98
7.0.50.0000.01416.45
7.0.40.0060.01516.39
7.0.30.0060.01016.39
7.0.20.0090.00616.36
7.0.10.0060.01216.32
7.0.00.0070.01016.45

preferences:
42.58 ms | 400 KiB | 5 Q