3v4l.org

run code in 300+ PHP versions simultaneously
<?php $name = 'Tom'; $message = 'Hi, my name is $name'; echo $message . PHP_EOL; $message = "Hi, my name is $name"; echo $message . PHP_EOL;

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.0120.00918.63
8.4.10.0090.00017.48
8.3.150.0040.01118.94
8.3.140.0120.00316.77
8.3.130.0030.00618.47
8.3.120.0070.01120.61
8.3.110.0080.00020.94
8.3.100.0030.00624.06
8.3.90.0040.00426.77
8.3.80.0060.00318.30
8.3.70.0120.00316.63
8.3.60.0070.00718.08
8.3.50.0100.00817.12
8.3.40.0110.00418.69
8.3.30.0110.00418.51
8.3.20.0150.00418.52
8.3.10.0040.00423.64
8.3.00.0040.00421.65
8.2.260.0090.00618.11
8.2.250.0090.00016.77
8.2.240.0090.00017.16
8.2.230.0070.00422.58
8.2.220.0090.00037.54
8.2.210.0090.00626.77
8.2.200.0090.00018.88
8.2.190.0090.00916.58
8.2.180.0070.00725.92
8.2.170.0030.01118.83
8.2.160.0100.00322.96
8.2.150.0040.00424.18
8.2.140.0000.00824.66
8.2.130.0040.00426.16
8.2.120.0050.00318.88
8.2.110.0030.00721.02
8.2.100.0090.00319.42
8.2.90.0040.00419.17
8.2.80.0090.00017.97
8.2.70.0000.00817.93
8.2.60.0030.00617.50
8.2.50.0030.00618.10
8.2.40.0040.00419.39
8.2.30.0000.00719.16
8.2.20.0070.00018.14
8.2.10.0000.00718.34
8.2.00.0060.00317.64
8.1.310.0170.00018.10
8.1.300.0060.01219.86
8.1.290.0040.00430.84
8.1.280.0030.01025.92
8.1.270.0080.00824.05
8.1.260.0040.00426.35
8.1.250.0070.00028.09
8.1.240.0080.00023.97
8.1.230.0060.00619.05
8.1.220.0000.00817.78
8.1.210.0040.00418.77
8.1.200.0040.00417.23
8.1.190.0060.00317.23
8.1.180.0000.00918.10
8.1.170.0050.00318.42
8.1.160.0000.00718.86
8.1.150.0000.00718.72
8.1.140.0040.00421.92
8.1.130.0050.00517.99
8.1.120.0060.00217.38
8.1.110.0040.00517.40
8.1.100.0060.00217.43
8.1.90.0030.00517.29
8.1.80.0030.00617.41
8.1.70.0070.00417.34
8.1.60.0020.00717.40
8.1.50.0040.00617.99
8.1.40.0070.00418.02
8.1.30.0050.00718.11
8.1.20.0090.00318.07
8.1.10.0060.00518.04
8.1.00.0080.00417.42
8.0.300.0000.00718.77
8.0.290.0000.00816.58
8.0.280.0000.00718.43
8.0.270.0080.00017.21
8.0.260.0030.00320.27
8.0.250.0040.00316.94
8.0.240.0060.00116.93
8.0.230.0020.00517.78
8.0.220.0020.00617.71
8.0.210.0060.00316.87
8.0.200.0050.00516.84
8.0.190.0060.00416.92
8.0.180.0060.00417.42
8.0.170.0050.00417.38
8.0.160.0060.00417.46
8.0.150.0060.00217.40
8.0.140.0020.00717.36
8.0.130.0030.00516.14
8.0.120.0060.00217.38
8.0.110.0020.00717.35
8.0.100.0050.00417.37
8.0.90.0060.00316.78
8.0.80.0060.00617.29
8.0.70.0030.00617.36
8.0.60.0060.00417.36
8.0.50.0040.00617.31
8.0.30.0070.01017.24
8.0.20.0080.00517.60
8.0.10.0030.00616.91
8.0.00.0100.00716.76
7.4.330.0090.00116.25
7.4.320.0070.00516.69
7.4.300.0090.00216.65
7.4.290.0070.00416.57
7.4.280.0090.00416.52
7.4.270.0090.00416.61
7.4.260.0100.00416.61
7.4.250.0090.00216.64
7.4.240.0090.00316.62
7.4.230.0090.00316.57
7.4.220.0100.00216.64
7.4.210.0070.00916.57
7.4.200.0060.00516.61
7.4.190.0100.00216.65
7.4.180.0080.00516.68
7.4.160.0100.00516.48
7.4.150.0080.00416.62
7.4.140.0110.00917.48
7.4.130.0110.00316.54
7.4.120.0090.00816.46
7.4.110.0050.01116.60
7.4.100.0030.01116.59
7.4.90.0040.01016.60
7.4.80.0090.00617.50
7.4.70.0090.00716.56
7.4.60.0120.00416.57
7.4.50.0090.00516.52
7.4.40.0110.00516.58
7.4.30.0120.00316.59
7.4.20.0120.00116.55
7.4.10.0150.00016.65
7.4.00.0090.00716.08
7.3.330.0060.00515.44
7.3.320.0080.00315.42
7.3.310.0090.00316.47
7.3.300.0080.00416.53
7.3.290.0100.00616.45
7.3.280.0100.00616.42
7.3.270.0070.00716.62
7.3.260.0090.01016.40
7.3.250.0130.00216.64
7.3.240.0090.00716.34
7.3.230.0100.00516.53
7.3.220.0130.00216.57
7.3.210.0100.00516.51
7.3.200.0100.00516.54
7.3.190.0070.00816.48
7.3.180.0090.00816.47
7.3.170.0120.00316.40
7.3.160.0110.00616.56
7.3.150.0130.00216.61
7.3.140.0070.00716.55
7.3.130.0150.00016.57
7.3.120.0070.00615.95
7.3.110.0090.00415.71
7.3.100.0070.00615.92
7.3.90.0110.00315.64
7.3.80.0060.00715.71
7.3.70.0060.00715.69
7.3.60.0090.00415.57
7.3.50.0070.00815.61
7.3.40.0080.00715.66
7.3.30.0080.00515.69
7.3.20.0100.00416.85
7.3.10.0090.00616.76
7.3.00.0070.00816.92
7.2.340.0020.01216.65
7.2.330.0100.00716.59
7.2.320.0090.00616.52
7.2.310.0110.00516.71
7.2.300.0130.00216.48
7.2.290.0100.00616.54
7.2.280.0110.00316.58
7.2.270.0070.00816.57
7.2.260.0120.00316.63
7.2.250.0130.00116.56
7.2.240.0100.00415.94
7.2.230.0070.00615.95
7.2.220.0070.00715.66
7.2.210.0090.00715.80
7.2.200.0110.00415.74
7.2.190.0070.00715.76
7.2.180.0090.00615.71
7.2.170.0080.00615.71
7.2.160.0090.00515.71
7.2.150.0100.00517.00
7.2.140.0070.00916.97
7.2.130.0070.00817.15
7.2.120.0130.01017.01
7.2.110.0620.00916.00
7.2.100.1210.00916.02
7.2.90.1520.00615.90
7.2.80.1200.00715.97
7.2.70.0570.00716.06
7.2.60.0530.00616.03
7.2.50.0800.00416.03
7.2.40.0760.00316.16
7.2.30.0850.00616.16
7.2.20.0810.01016.15
7.2.10.0790.00916.07
7.2.00.0980.00516.16
7.1.330.0090.00516.55
7.1.320.0110.00315.83
7.1.310.0100.00515.90
7.1.300.0070.00715.74
7.1.290.0090.00316.03
7.1.280.0060.00715.85
7.1.270.0070.00515.89
7.1.260.0060.00715.92
7.1.250.0080.00415.91
7.1.240.0170.00916.00
7.1.230.0690.00714.78
7.1.220.1160.00614.84
7.1.210.1000.00814.85
7.1.200.1700.00814.81
7.1.190.0630.00714.80
7.1.180.1100.00514.79
7.1.170.1110.00614.79
7.1.160.0870.00514.89
7.1.150.0880.00614.85
7.1.140.1090.00814.89
7.1.130.1210.00614.77
7.1.120.0930.00714.92
7.1.110.1120.00514.86
7.1.100.1050.00614.90
7.1.90.1330.00414.66
7.1.80.1210.00414.80
7.1.70.1170.00514.81
7.1.60.1310.00723.73
7.1.50.1430.00423.83
7.1.40.1550.01023.86
7.1.30.1370.00623.78
7.1.20.1710.00823.88
7.1.10.1390.00714.82
7.1.00.1010.00314.81
7.0.330.0070.00715.74
7.0.320.0130.01115.77
7.0.310.0160.00715.74
7.0.300.0150.01015.82
7.0.290.0130.00315.86
7.0.280.0960.00614.50
7.0.270.0140.00415.70
7.0.260.0120.00315.78
7.0.250.0130.00315.80
7.0.240.0110.00415.79
7.0.230.0100.00615.86
7.0.220.0100.00715.77
7.0.210.0100.00615.89
7.0.200.0130.01115.81
7.0.190.0130.00515.89
7.0.180.0130.00315.88
7.0.170.0100.00815.91
7.0.160.0080.00815.82
7.0.150.0110.00515.80
7.0.140.0130.00515.86
7.0.130.0090.00915.92
7.0.120.0080.00915.81
7.0.110.0130.00215.77
7.0.100.0060.00915.78
7.0.90.0140.00215.79
7.0.80.0120.00415.82
7.0.70.0090.00815.72
7.0.60.0130.00315.76
7.0.50.0220.00515.85
7.0.40.0100.00815.86
7.0.30.0130.00415.92
7.0.20.0120.00415.75
7.0.10.0070.01015.80
7.0.00.0120.00515.79
5.6.400.0090.00515.67
5.6.390.0080.00915.65
5.6.380.0110.00314.84
5.6.370.0110.00715.68
5.6.360.0100.00715.68
5.6.350.0120.00415.70
5.6.340.0110.00315.70
5.6.330.0090.00815.62
5.6.320.0120.00315.65
5.6.310.0100.00515.57
5.6.300.0110.00515.66
5.6.290.0080.00815.69
5.6.280.0070.01015.61
5.6.270.0050.01215.63
5.6.260.0120.00515.68
5.6.250.0110.00415.56
5.6.240.0120.00415.65
5.6.230.0150.00015.62
5.6.220.0120.00615.62
5.6.210.0120.00615.64
5.6.200.0120.00515.63
5.6.190.0090.00715.64
5.6.180.0100.00615.70
5.6.170.0110.00615.62
5.6.160.0100.00615.70
5.6.150.0120.00515.72
5.6.140.0120.00415.58
5.6.130.0120.00415.49
5.6.120.0090.00615.64
5.6.110.0090.00715.52
5.6.100.0130.00315.68
5.6.90.0100.00715.65
5.6.80.0130.00315.65
5.6.70.0120.00515.58
5.6.60.0090.00615.73
5.6.50.0110.00415.67
5.6.40.0140.00315.70
5.6.30.0060.01015.63
5.6.20.0110.00415.61
5.6.10.0120.00415.55
5.6.00.0100.00715.59

preferences:
55.88 ms | 403 KiB | 5 Q