3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = 'hoge'; $b = 123; var_dump(compact('a','b','c'));

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.140.0090.00917.09
8.3.130.0070.00318.36
8.3.120.0030.00518.73
8.3.110.0040.00420.94
8.3.100.0030.00624.06
8.3.90.0040.00426.77
8.3.80.0080.00019.36
8.3.70.0110.00418.56
8.3.60.0100.00316.88
8.3.50.0070.00723.56
8.3.40.0120.00318.50
8.3.30.0070.00718.62
8.3.20.0000.00820.71
8.3.10.0000.00823.61
8.3.00.0000.00721.60
8.2.250.0000.00816.53
8.2.240.0090.00017.17
8.2.230.0080.00022.58
8.2.220.0090.00037.54
8.2.210.0080.00026.77
8.2.200.0070.00318.88
8.2.190.0070.00718.42
8.2.180.0100.01018.41
8.2.170.0040.01122.96
8.2.160.0000.01422.02
8.2.150.0030.00624.18
8.2.140.0050.00324.66
8.2.130.0040.00426.16
8.2.120.0070.00026.16
8.2.110.0090.00922.30
8.2.100.0150.00017.91
8.2.90.0040.00417.63
8.2.80.0050.00318.79
8.2.70.0050.00317.38
8.2.60.0060.00317.68
8.2.50.0000.00818.07
8.2.40.0000.00917.97
8.2.30.0000.00719.33
8.2.20.0070.00017.96
8.2.10.0070.00019.05
8.2.00.0040.00419.05
8.1.300.0160.00318.38
8.1.290.0060.00330.84
8.1.280.0030.01425.92
8.1.270.0090.00020.51
8.1.260.0020.00526.35
8.1.250.0040.00428.09
8.1.240.0080.00820.90
8.1.230.0090.00317.64
8.1.220.0000.00717.74
8.1.210.0000.00818.77
8.1.200.0030.00717.22
8.1.190.0000.00717.23
8.1.180.0040.00418.10
8.1.170.0060.00318.55
8.1.160.0050.00318.86
8.1.150.0000.00718.96
8.1.140.0040.00422.39
8.1.130.0000.00717.38
8.1.120.0040.00417.36
8.1.110.0030.00517.28
8.1.100.0030.00517.30
8.1.90.0000.00717.38
8.1.80.0040.00417.29
8.1.70.0030.00317.42
8.1.60.0050.00217.54
8.1.50.0080.00017.34
8.1.40.0100.00217.50
8.1.30.0080.00017.54
8.1.20.0040.00417.43
8.1.10.0100.00417.26
8.1.00.0100.00417.30
8.0.300.0000.00720.46
8.0.290.0070.00016.63
8.0.280.0000.00718.43
8.0.270.0030.00318.04
8.0.260.0030.00316.77
8.0.250.0000.00616.96
8.0.240.0040.00416.95
8.0.230.0030.00316.86
8.0.220.0000.00816.85
8.0.210.0000.00716.92
8.0.200.0020.00516.83
8.0.190.0030.00316.92
8.0.180.0080.00016.87
8.0.170.0030.00616.80
8.0.160.0050.00216.85
8.0.150.0040.00416.75
8.0.140.0080.00516.77
8.0.130.0090.00615.05
8.0.120.0140.00416.85
8.0.110.0070.00516.83
8.0.100.0130.00016.81
8.0.90.0070.00616.73
8.0.80.0110.00816.81
8.0.70.0090.00516.85
8.0.60.0060.00516.88
8.0.50.0050.00416.85
8.0.30.0050.00816.78
8.0.20.0050.00916.87
8.0.10.0060.00316.91
8.0.00.0100.00516.77
7.4.330.0000.00616.80
7.4.320.0060.00016.48
7.4.300.0050.00517.38
7.4.290.0030.00316.57
7.4.280.0040.00416.47
7.4.270.0070.00416.46
7.4.260.0020.00515.60
7.4.250.0060.00316.48
7.4.240.0070.00516.39
7.4.230.0130.00216.50
7.4.220.0070.00416.50
7.4.210.0120.00616.55
7.4.200.0090.00416.38
7.4.190.0150.00616.36
7.4.180.0170.00216.45
7.4.160.0160.00416.48
7.4.150.0160.00416.44
7.4.140.0210.00016.42
7.4.130.0150.00516.34
7.4.120.0150.00516.34
7.4.110.0120.00716.34
7.4.100.0120.00716.28
7.4.90.0130.00516.44
7.4.80.0130.00617.86
7.4.70.0150.00416.39
7.4.60.0110.00616.34
7.4.50.0080.00716.32
7.4.40.0110.00916.31
7.4.30.0120.00316.13
7.4.20.0070.00716.34
7.4.10.0060.00816.35
7.4.00.0120.00216.39
7.3.330.0060.00716.13
7.3.320.0090.00314.48
7.3.310.0110.00216.12
7.3.300.0100.00316.07
7.3.290.0110.00416.16
7.3.280.0080.01116.07
7.3.270.0160.00316.02
7.3.260.0160.00516.23
7.3.250.0130.00616.25
7.3.240.0130.00816.34
7.3.230.0080.01116.23
7.3.220.0180.00316.25
7.3.210.0140.00416.27
7.3.200.0110.01016.18
7.3.190.0150.00516.23
7.3.180.0100.00816.08
7.3.170.0130.00716.07
7.3.160.0200.00516.23
7.3.150.0120.00616.16
7.3.140.0100.00916.04
7.3.130.0150.00516.26
7.3.120.0060.01116.10
7.3.110.0120.00516.17
7.3.100.0130.00516.21
7.3.90.0090.00816.30
7.3.80.0150.00416.10
7.3.70.0150.00416.21
7.3.60.0140.00316.09
7.3.50.0100.00716.21
7.3.40.0130.00416.23
7.3.30.0120.00616.11
7.3.20.0110.00517.14
7.3.10.0110.00717.06
7.3.00.0150.00317.09
7.2.340.0190.00016.20
7.2.330.0150.00716.19
7.2.320.0090.00916.25
7.2.310.0100.00816.22
7.2.300.0110.00816.10
7.2.290.0130.00416.15
7.2.280.0190.00016.04
7.2.270.0170.00216.13
7.2.260.0130.00716.22
7.2.250.0120.00616.19
7.2.240.0140.00616.25
7.2.230.0140.00416.35
7.2.220.0110.00716.38
7.2.210.0080.01116.21
7.2.200.0160.00516.38
7.2.190.0110.00716.29
7.2.180.0090.00716.26
7.2.170.0120.00516.32
7.2.160.0120.00516.42
7.2.150.0120.00517.17
7.2.140.0080.00917.36
7.2.130.0120.00517.40
7.2.120.0100.00817.29
7.2.110.0150.00717.37
7.2.100.0160.00517.37
7.2.90.0130.00617.36
7.2.80.0110.00717.24
7.2.70.0090.00917.34
7.2.60.0130.00617.34
7.2.50.0180.00017.31
7.2.40.0120.00717.27
7.2.30.0110.00817.34
7.2.20.0130.00517.19
7.2.10.0140.00517.37
7.2.00.0150.00317.23

preferences:
62.38 ms | 403 KiB | 5 Q