3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo <<<EOT My name is "fdgfg". I am printing some. Now, I am printing some {}. This should print a capital 'A': \x42 EOT; ?>

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.0090.00916.63
8.3.50.0220.01022.80
8.3.40.0130.00318.74
8.3.30.0100.00319.09
8.3.20.0070.00020.21
8.3.10.0080.00023.61
8.3.00.0030.00519.38
8.2.180.0090.01218.04
8.2.170.0090.00622.96
8.2.160.0080.00820.38
8.2.150.0040.00424.18
8.2.140.0050.00324.66
8.2.130.0070.00026.16
8.2.120.0030.00520.97
8.2.110.0030.00620.30
8.2.100.0110.00018.22
8.2.90.0000.00819.22
8.2.80.0030.00517.97
8.2.70.0060.00317.38
8.2.60.0000.00717.80
8.2.50.0090.00018.07
8.2.40.0040.00418.19
8.2.30.0000.00718.04
8.2.20.0040.00417.61
8.2.10.0040.00417.80
8.2.00.0040.00417.60
8.1.280.0210.00025.92
8.1.270.0040.00423.85
8.1.260.0050.00226.35
8.1.250.0050.00228.09
8.1.240.0050.00521.95
8.1.230.0040.00719.22
8.1.220.0040.00417.74
8.1.210.0000.00818.77
8.1.200.0080.00417.00
8.1.190.0040.00417.00
8.1.180.0000.00818.10
8.1.170.0090.00018.64
8.1.160.0080.00021.85
8.1.150.0050.00218.76
8.1.140.0070.00017.32
8.1.130.0000.00717.75
8.1.120.0040.00417.33
8.1.110.0000.00817.31
8.1.100.0040.00417.34
8.1.90.0030.00417.31
8.1.80.0040.00417.32
8.1.70.0040.00417.23
8.1.60.0080.00017.46
8.1.50.0050.00317.38
8.1.40.0000.00817.36
8.1.30.0000.00817.37
8.1.20.0030.00617.46
8.1.10.0070.00017.47
8.1.00.0040.00417.39
8.0.300.0040.00418.77
8.0.290.0000.00716.73
8.0.280.0030.00318.25
8.0.270.0030.00317.15
8.0.260.0000.00717.19
8.0.250.0070.00016.88
8.0.240.0000.00716.78
8.0.230.0000.00716.86
8.0.220.0030.00316.80
8.0.210.0050.00316.84
8.0.200.0000.00716.95
8.0.190.0030.00316.81
8.0.180.0000.00716.69
8.0.170.0000.00716.91
8.0.160.0070.00016.83
8.0.150.0070.00016.81
8.0.140.0080.00416.82
8.0.130.0090.00013.26
8.0.120.0040.00416.79
8.0.110.0040.00416.72
8.0.100.0040.00416.82
8.0.90.0030.00316.62
8.0.80.0080.00816.82
8.0.70.0000.00716.72
8.0.60.0050.00316.70
8.0.50.0040.00416.75
8.0.30.0100.00916.91
8.0.20.0060.01217.40
8.0.10.0040.00416.81
8.0.00.0080.01116.61
7.4.330.0030.00315.00
7.4.320.0030.00316.51
7.4.300.0040.00416.36
7.4.290.0000.00716.23
7.4.280.0080.00016.36
7.4.270.0040.00316.48
7.4.260.0000.00716.46
7.4.250.0000.00716.44
7.4.240.0000.00716.45
7.4.230.0000.00716.49
7.4.220.0070.01016.41
7.4.210.0110.00416.52
7.4.200.0030.00316.51
7.4.160.0100.00716.49
7.4.150.0110.00817.40
7.4.140.0090.00817.86
7.4.130.0080.01116.44
7.4.120.0110.00516.37
7.4.110.0100.00716.40
7.4.100.0030.01516.66
7.4.90.0030.01516.46
7.4.80.0070.01119.39
7.4.70.0090.00916.34
7.4.60.0150.00016.25
7.4.50.0030.00316.45
7.4.40.0030.01316.38
7.4.30.0090.00916.48
7.4.00.0040.01114.81
7.3.330.0030.00312.96
7.3.320.0030.00312.91
7.3.310.0000.00716.06
7.3.300.0000.00716.15
7.3.290.0080.00816.23
7.3.280.0070.00916.19
7.3.270.0130.00317.40
7.3.260.0060.01116.28
7.3.250.0140.00316.28
7.3.240.0100.00616.20
7.3.230.0110.00516.39
7.3.210.0110.00716.28
7.3.200.0130.00319.39
7.3.190.0120.00916.30
7.3.180.0040.01216.16
7.3.170.0160.00616.27
7.3.160.0090.00616.49
7.2.330.0140.00316.39
7.2.320.0040.01216.44
7.2.310.0030.01516.31
7.2.300.0070.01116.35
7.2.290.0130.00316.30
7.2.00.0170.00418.76
7.1.100.0030.01318.04
7.1.70.0000.00816.84
7.1.60.0060.01919.46
7.1.50.0100.01316.95
7.1.00.0100.07022.37
7.0.200.0070.00016.71
7.0.140.0070.07022.11
7.0.60.0070.03719.84
7.0.50.0100.06717.66
7.0.40.0100.08020.20
7.0.30.0300.07720.16
7.0.20.0230.07020.12
7.0.10.0200.06720.09
7.0.00.0100.04020.16
5.6.280.0070.06321.10
5.6.210.0030.08720.55
5.6.200.0030.04318.21
5.6.190.0100.04020.67
5.6.180.0400.07020.41
5.6.170.0270.04720.52
5.6.160.0100.03720.52
5.6.150.0030.08718.18
5.6.140.0170.07318.18
5.6.130.0070.05718.13
5.6.120.0030.05320.87
5.6.110.0130.08720.98
5.6.100.0100.08020.98
5.6.90.0070.04021.10
5.6.80.0200.07020.41
5.5.350.0270.05720.48
5.5.340.0170.04317.99
5.5.330.0100.07720.15
5.5.320.0400.07320.51
5.5.310.0270.05720.20
5.5.300.0070.07317.90
5.5.290.0030.05317.87
5.5.280.0100.03720.75
5.5.270.0130.06720.93
5.5.260.0030.04020.88
5.5.250.0030.04320.68
5.5.240.0170.07720.18
5.4.450.0370.04719.14
5.4.440.0570.04319.41
5.4.430.0170.04319.45
5.4.420.0130.05019.45
5.4.410.0270.04719.29
5.4.400.0270.03719.22
5.4.390.0270.03319.26
5.4.380.1130.05318.50
5.4.370.1470.06318.70
5.4.360.1270.05718.73
5.4.350.1030.05718.46
5.4.340.1000.06318.71
5.4.320.0050.04212.45
5.4.310.0070.04212.45
5.4.300.0050.04012.45
5.4.290.0030.04412.45
5.4.280.0060.03512.34
5.4.270.0080.03612.34
5.4.260.0100.03712.34
5.4.250.0070.03712.34
5.4.240.0080.03312.34
5.4.230.0040.03912.34
5.4.220.0070.03312.34
5.4.210.0040.03712.34
5.4.200.0070.04312.34
5.4.190.0080.03512.33
5.4.180.0070.03512.33
5.4.170.0070.03612.35
5.4.160.0080.03412.34
5.4.150.0090.03312.34
5.4.140.0050.03812.02
5.4.130.0080.03212.01
5.4.120.0080.03311.97
5.4.110.0080.03311.96
5.4.100.0040.03711.96
5.4.90.0110.03711.96
5.4.80.0070.03511.96
5.4.70.0040.03611.96
5.4.60.0040.03911.96
5.4.50.0080.03511.96
5.4.40.0040.03611.95
5.4.30.0060.04011.95
5.4.20.0050.03611.95
5.4.10.0030.03711.95
5.4.00.0050.03911.44

preferences:
40.88 ms | 401 KiB | 5 Q