3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = array(1, 2, 3); $text = 'string' . {$a} . 'more';

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)
5.4.290.0170.07212.48
5.4.280.0090.05012.37
5.4.270.0320.12312.37
5.4.260.0210.08112.37
5.4.250.0070.06712.37
5.4.240.0190.06812.37
5.4.230.0100.05612.36
5.4.220.0080.05512.36
5.4.210.0080.03612.37
5.4.200.0130.06712.37
5.4.190.0060.05812.36
5.4.180.0100.07412.36
5.4.170.0060.05212.37
5.4.160.0160.06012.37
5.4.150.0180.07412.36
5.4.140.0210.10912.05
5.4.130.0300.10012.03
5.4.120.0330.07112.00
5.4.110.0140.07511.99
5.4.100.0130.07311.99
5.4.90.0330.07311.99
5.4.80.0190.08011.99
5.4.70.0080.05411.99
5.4.60.0080.03611.99
5.4.50.0100.04312.00
5.4.40.0440.14111.98
5.4.30.0210.07011.98
5.4.20.0350.15111.98
5.4.10.0340.08311.97
5.4.00.0130.06011.46
5.3.280.0060.04312.71
5.3.270.0060.05412.72
5.3.260.0090.04512.71
5.3.250.0070.04312.72
5.3.240.0100.04612.72
5.3.230.0090.04212.71
5.3.220.0080.04112.68
5.3.210.0110.04712.68
5.3.200.0050.05112.68
5.3.190.0100.04112.68
5.3.180.0110.04512.68
5.3.170.0050.04512.67
5.3.160.0100.03812.67
5.3.150.0070.04512.67
5.3.140.0050.03912.66
5.3.130.0070.05212.66
5.3.120.0110.11112.66
5.3.110.0130.09112.66
5.3.100.0150.09012.12
5.3.90.0170.06012.09
5.3.80.0100.05212.07
5.3.70.0130.05512.07
5.3.60.0130.06512.06
5.3.50.0150.06412.00
5.3.40.0080.05812.00
5.3.30.0130.05411.95
5.3.20.0110.06311.72
5.3.10.0260.06911.70
5.3.00.0080.05911.68
5.2.170.0080.0759.18
5.2.160.0060.0609.18
5.2.150.0040.0469.18
5.2.140.0070.0479.18
5.2.130.0130.0649.14
5.2.120.0080.0429.14
5.2.110.0120.0789.15
5.2.100.0140.0459.14
5.2.90.0100.0789.14
5.2.80.0130.0989.14
5.2.70.0070.0589.14
5.2.60.0100.0709.09
5.2.50.0120.0619.06
5.2.40.0160.0529.04
5.2.30.0140.0529.01
5.2.20.0030.0439.01
5.2.10.0060.0398.93
5.2.00.0130.0408.78
5.1.60.0120.0358.07
5.1.50.0080.0608.07
5.1.40.0110.0338.05
5.1.30.0040.0298.40
5.1.20.0080.0768.42
5.1.10.0160.0398.14
5.1.00.0170.0508.14
5.0.50.0120.0396.62
5.0.40.0090.0376.48
5.0.30.0070.0416.29
5.0.20.0050.0236.27
5.0.10.0080.0206.24
5.0.00.0050.0386.23
4.4.90.0040.0174.78
4.4.80.0060.0154.76
4.4.70.0030.0174.76
4.4.60.0030.0174.75
4.4.50.0030.0174.77
4.4.40.0070.0234.71
4.4.30.0060.0144.76
4.4.20.0040.0184.84
4.4.10.0060.0184.85
4.4.00.0060.0304.76
4.3.110.0020.0174.67
4.3.100.0050.0144.66
4.3.90.0030.0144.64
4.3.80.0020.0254.59
4.3.70.0060.0184.63
4.3.60.0080.0384.63
4.3.50.0040.0194.63
4.3.40.0030.0244.54
4.3.30.0010.0173.29
4.3.20.0050.0153.26
4.3.10.0010.0213.21
4.3.00.0000.0307.03

preferences:
148.79 ms | 1398 KiB | 7 Q