3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo <<<EOT My name is "$name". I am printing some $foo->foo. Now, I am printing some {$foo->bar[1]}. This should print a capital 'A': \x41 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.0110.01118.30
8.3.50.0070.01122.05
8.3.40.0110.01118.87
8.3.30.0070.00720.17
8.3.20.0040.00420.29
8.3.10.0040.00422.13
8.3.00.0080.00022.40
8.2.180.0210.00016.88
8.2.170.0140.00722.96
8.2.160.0070.00722.26
8.2.150.0050.00324.18
8.2.140.0100.00624.66
8.2.130.0050.00326.16
8.2.120.0080.00019.66
8.2.110.0060.00322.25
8.2.100.0090.00317.84
8.2.90.0000.00819.27
8.2.80.0040.00419.46
8.2.70.0060.00317.63
8.2.60.0040.00417.80
8.2.50.0000.00818.07
8.2.40.0000.00818.21
8.2.30.0040.00418.11
8.2.20.0040.00417.79
8.2.10.0000.00717.79
8.2.00.0000.00917.84
8.1.280.0030.01425.92
8.1.270.0050.00324.66
8.1.260.0070.00026.35
8.1.250.0050.00228.09
8.1.240.0090.00021.85
8.1.230.0100.00019.07
8.1.220.0050.00317.76
8.1.210.0040.00418.77
8.1.200.0000.00816.88
8.1.190.0080.00017.41
8.1.180.0040.00419.01
8.1.170.0040.00418.69
8.1.160.0070.00022.14
8.1.150.0030.00718.49
8.1.140.0040.00417.33
8.1.130.0040.00417.81
8.1.120.0000.00817.32
8.1.110.0000.00817.24
8.1.100.0050.00217.21
8.1.90.0030.00317.21
8.1.80.0080.00017.38
8.1.70.0030.00317.29
8.1.60.0080.00017.35
8.1.50.0040.00417.41
8.1.40.0050.00517.43
8.1.30.0000.00717.39
8.1.20.0050.00317.50
8.1.10.0000.00717.53
8.1.00.0020.00517.45
8.0.300.0040.00418.77
8.0.290.0040.00417.05
8.0.280.0000.00918.39
8.0.270.0040.00417.10
8.0.260.0000.00716.85
8.0.250.0000.00616.93
8.0.240.0060.00317.00
8.0.230.0030.00316.97
8.0.220.0000.00716.84
8.0.210.0000.00716.79
8.0.200.0000.00617.00
8.0.190.0050.00216.91
8.0.180.0060.00616.80
8.0.170.0000.00716.86
8.0.160.0030.00316.90
8.0.150.0040.00416.89
8.0.140.0000.00716.70
8.0.130.0000.00513.33
8.0.120.0080.00016.85
8.0.110.0070.00016.70
8.0.100.0050.00216.79
8.0.90.0080.00016.77
8.0.80.0130.00316.85
8.0.70.0030.00416.75
8.0.60.0000.00716.80
8.0.50.0000.00716.76
8.0.30.0130.00616.90
8.0.20.0130.00817.40
8.0.10.0030.00516.79
8.0.00.0160.00216.61
7.4.330.0020.00215.00
7.4.320.0060.00016.23
7.4.300.0000.00616.27
7.4.290.0030.00316.48
7.4.280.0000.00716.36
7.4.270.0030.00316.51
7.4.260.0050.00516.43
7.4.250.0030.00516.27
7.4.240.0060.00216.41
7.4.230.0070.00016.50
7.4.220.0070.01116.44
7.4.210.0070.00716.45
7.4.200.0000.00716.35
7.4.190.0080.00016.51
7.4.160.0160.00616.43
7.4.150.0060.01217.40
7.4.140.0120.00917.86
7.4.130.0100.00616.40
7.4.120.0110.00616.33
7.4.110.0090.01216.41
7.4.100.0090.00916.42
7.4.90.0040.01416.17
7.4.80.0040.01319.39
7.4.70.0080.00816.49
7.4.60.0060.01016.23
7.4.50.0040.00416.20
7.4.40.0070.00722.77
7.4.30.0130.00316.32
7.3.330.0000.00713.24
7.3.320.0030.00313.14
7.3.310.0030.00316.11
7.3.300.0030.00616.21
7.3.290.0060.01216.29
7.3.280.0070.01016.29
7.3.270.0150.00317.40
7.3.260.0090.00916.59
7.3.250.0120.00616.62
7.3.240.0070.01116.46
7.3.230.0150.00416.71
7.3.210.0110.00716.34
7.3.200.0080.00819.39
7.3.190.0090.00916.34
7.3.180.0090.00616.49
7.3.170.0100.00616.32
7.3.160.0000.01616.38
7.2.330.0100.01116.25
7.2.320.0150.00616.22
7.2.310.0030.01716.46
7.2.300.0070.01016.34
7.2.290.0070.01016.39
5.4.250.0070.04212.36

preferences:
40.8 ms | 401 KiB | 5 Q