3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = 0x40; var_dump($a);

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.4.20.0040.01517.53
8.4.10.0100.01017.56
8.3.150.0130.00717.25
8.3.140.0180.00016.57
8.3.130.0050.00318.46
8.3.120.0040.00420.64
8.3.110.0090.00916.63
8.3.100.0030.00624.06
8.3.90.0030.00626.77
8.3.80.0030.00618.41
8.3.70.0110.00716.58
8.3.60.0060.00918.43
8.3.50.0160.00322.95
8.3.40.0120.00318.56
8.3.30.0040.01218.38
8.3.20.0070.00720.21
8.3.10.0080.00020.54
8.3.00.0050.00320.68
8.2.270.0000.00816.80
8.2.260.0080.00018.80
8.2.250.0110.00016.48
8.2.240.0080.00318.68
8.2.230.0060.00320.94
8.2.220.0090.00037.54
8.2.210.0040.00426.77
8.2.200.0100.00316.38
8.2.190.0100.01016.58
8.2.180.0070.01016.63
8.2.170.0150.00022.96
8.2.160.0130.00622.26
8.2.150.0040.00424.18
8.2.140.0080.00024.66
8.2.130.0080.00020.57
8.2.120.0050.00326.35
8.2.110.0140.00320.57
8.2.100.0060.00617.72
8.2.90.0000.00819.05
8.2.80.0050.00317.97
8.2.70.0060.00317.50
8.2.60.0050.00317.93
8.2.50.0040.00418.09
8.2.40.0000.00820.52
8.2.30.0070.00019.27
8.2.20.0040.00417.52
8.2.10.0040.00417.97
8.2.00.0040.00417.99
8.1.310.0040.00416.41
8.1.300.0050.00318.53
8.1.290.0030.00618.88
8.1.280.0090.00925.92
8.1.270.0050.00323.96
8.1.260.0080.00028.09
8.1.250.0040.00428.09
8.1.240.0080.00621.95
8.1.230.0110.00022.16
8.1.220.0040.00417.74
8.1.210.0080.00018.77
8.1.200.0060.00317.10
8.1.190.0000.00817.10
8.1.180.0040.00418.10
8.1.170.0000.00918.28
8.1.160.0000.00820.61
8.1.150.0080.00018.77
8.1.140.0040.00419.46
8.1.130.0030.00317.42
8.1.120.0000.00717.38
8.1.110.0000.00817.21
8.1.100.0030.00317.38
8.1.90.0040.00417.30
8.1.80.0030.00517.45
8.1.70.0060.00417.34
8.1.60.0040.00417.41
8.1.50.0000.00817.49
8.1.40.0050.00317.38
8.1.30.0000.00817.57
8.1.20.0000.00717.44
8.1.10.0070.00717.41
8.1.00.0000.00717.23
8.0.300.0000.00718.77
8.0.290.0000.00716.63
8.0.280.0070.00018.27
8.0.270.0030.00317.09
8.0.260.0000.00616.65
8.0.250.0040.00216.86
8.0.240.0000.00716.94
8.0.230.0000.00716.79
8.0.220.0000.00716.78
8.0.210.0020.00516.75
8.0.200.0030.00316.87
8.0.190.0070.00316.84
8.0.180.0000.00816.79
8.0.170.0070.00016.73
8.0.160.0040.00416.86
8.0.150.0030.00316.78
8.0.140.0050.00516.70
8.0.130.0000.00513.32
8.0.120.0000.00816.80
8.0.110.0000.00816.73
8.0.100.0000.00716.68
8.0.90.0070.00016.65
8.0.80.0100.01016.80
8.0.70.0000.00716.69
8.0.60.0000.00816.81
8.0.50.0030.00516.63
8.0.30.0130.00616.90
8.0.20.0110.00817.40
8.0.10.0000.00816.98
8.0.00.0070.01016.67
7.4.330.0050.00016.88
7.4.320.0030.00316.44
7.4.300.0060.00016.42
7.4.290.0040.00416.41
7.4.280.0000.00716.34
7.4.270.0070.00016.48
7.4.260.0030.00316.41
7.4.250.0070.00016.53
7.4.240.0030.00316.42
7.4.230.0030.00316.42
7.4.220.0090.00616.64
7.4.210.0070.00616.50
7.4.200.0030.00316.29
7.4.160.0090.00616.26
7.4.150.0070.01317.40
7.4.140.0030.01617.86
7.4.130.0070.01316.48
7.4.120.0060.01516.46
7.4.110.0040.01216.51
7.4.100.0110.00716.41
7.4.90.0070.01016.32
7.4.80.0100.00719.39
7.4.70.0110.01116.47
7.4.60.0130.00316.38
7.4.50.0060.00816.23
7.4.40.0070.01016.39
7.4.30.0060.01416.18
7.4.00.0070.00714.82
7.3.330.0050.00013.04
7.3.320.0000.00512.93
7.3.310.0000.00716.17
7.3.300.0030.00316.07
7.3.290.0090.00816.19
7.3.280.0080.01016.09
7.3.270.0070.01117.40
7.3.260.0080.00816.14
7.3.250.0130.00716.26
7.3.240.0120.00816.31
7.3.230.0090.00916.39
7.3.210.0100.01016.20
7.3.200.0170.00016.33
7.3.190.0160.00016.04
7.3.180.0120.00316.08
7.3.170.0150.00716.40
7.3.160.0140.00316.06
7.3.10.0100.00016.09
7.3.00.0050.00516.34
7.2.330.0130.00316.49
7.2.320.0070.01416.31
7.2.310.0100.00716.42
7.2.300.0080.00816.58
7.2.290.0070.01016.43
7.2.130.0040.00716.41
7.2.120.0080.00716.27
7.2.110.0070.01116.23
7.2.100.0050.00516.25
7.2.90.0080.00916.33
7.2.80.0030.01016.32
7.2.70.0140.00916.59
7.2.60.0120.00516.51
7.2.50.0090.01216.08
7.2.40.0070.00716.20
7.2.30.0220.00016.34
7.2.20.0190.00016.13
7.2.10.0130.01116.27
7.2.00.0100.01018.01
7.1.250.0160.00315.45
7.1.200.0030.01015.86
7.1.100.0000.01118.26
7.1.70.0060.01016.75
7.1.60.0060.01019.61
7.1.50.0100.01016.89
7.1.00.0070.07022.54
7.0.200.5350.00716.56
7.0.60.0170.03319.98
7.0.50.0000.06317.88
7.0.40.0100.07720.04
7.0.30.0270.03720.04
7.0.20.0170.04320.33
7.0.10.0100.06720.00
7.0.00.0030.09019.99
5.6.280.0070.07020.89
5.6.210.0030.09020.62
5.6.200.0100.06318.16
5.6.190.0000.09020.35
5.6.180.0330.07020.41
5.6.170.0230.06320.49
5.6.160.0000.04320.44
5.6.150.0130.05318.13
5.6.140.0070.05018.20
5.6.130.0030.08718.21
5.6.120.0000.09720.98
5.6.110.0230.07320.97
5.6.100.0100.08020.97
5.6.90.0070.06020.99
5.6.80.0100.03020.34
5.5.350.4000.03720.40
5.5.340.0070.08017.92
5.5.330.0030.07720.57
5.5.320.0400.07320.17
5.5.310.0300.04320.17
5.5.300.0070.04018.02
5.5.290.0000.04317.92
5.5.280.0130.07720.79
5.5.270.0070.08720.76
5.5.260.0070.07720.96
5.5.250.0070.08320.57
5.5.240.0030.05720.18

preferences:
27.67 ms | 403 KiB | 5 Q