3v4l.org

run code in 300+ PHP versions simultaneously
<?php $products = array('Muziek' => 'Brahms', 'DVD' => 'Rambo', 'Blueray' => 'Mozart'); array_push($products, 'LP' => 'Beegees'); echo '<pre>';print_r($products);

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.280.0100.03912.36
5.4.270.0080.05012.36
5.4.260.0060.06512.36
5.4.250.0090.08112.36
5.4.240.0040.05912.36
5.4.230.0130.06912.36
5.4.220.0100.05412.35
5.4.210.0150.08112.36
5.4.200.0140.08612.35
5.4.190.0090.08812.35
5.4.180.0070.05512.35
5.4.170.0270.10912.36
5.4.160.0100.04412.36
5.4.150.0090.04612.35
5.4.140.0130.04412.04
5.4.130.0110.06612.02
5.4.120.0130.06911.99
5.4.110.0170.06911.98
5.4.100.0100.05811.98
5.4.90.0130.05211.98
5.4.80.0110.06611.98
5.4.70.0090.05211.98
5.4.60.0060.05711.98
5.4.50.0040.04211.98
5.4.40.0180.06611.97
5.4.30.0120.05311.96
5.4.20.0140.04511.96
5.4.10.0130.05711.97
5.4.00.0090.06311.46
5.3.280.0080.05112.71
5.3.270.0050.06412.72
5.3.260.0060.05812.72
5.3.250.0070.05012.72
5.3.240.0080.03812.72
5.3.230.0070.03912.71
5.3.220.0080.03712.68
5.3.210.0070.04212.68
5.3.200.0030.04212.68
5.3.190.0110.04412.68
5.3.180.0070.05212.68
5.3.170.0130.05212.67
5.3.160.0140.05012.67
5.3.150.0110.05712.67
5.3.140.0080.03812.66
5.3.130.0100.04112.65
5.3.120.0140.04812.66
5.3.110.0100.05212.66
5.3.100.0060.06712.12
5.3.90.0120.06412.08
5.3.80.0060.04912.08
5.3.70.0080.04412.07
5.3.60.0100.04912.06
5.3.50.0070.04212.00
5.3.40.0060.05112.00
5.3.30.0060.05111.94
5.3.20.0070.05911.70
5.3.10.0140.05811.67
5.3.00.0160.06811.66
5.2.170.0060.0449.15
5.2.160.0050.0459.15
5.2.150.0050.0469.15
5.2.140.0100.0379.15
5.2.130.0050.0359.11
5.2.120.0130.0669.11
5.2.110.0050.0379.12
5.2.100.0100.0399.11
5.2.90.0080.0349.11
5.2.80.0060.0399.11
5.2.70.0090.0399.11
5.2.60.0080.0419.06
5.2.50.0250.0819.04
5.2.40.0060.0379.01
5.2.30.0050.0418.99
5.2.20.0040.0548.97
5.2.10.0050.0388.90
5.2.00.0060.0298.76
5.1.60.0060.0238.04
5.1.50.0030.0268.05
5.1.40.0050.0248.03
5.1.30.0060.0308.38
5.1.20.0060.0258.40
5.1.10.0050.0258.12
5.1.00.0040.0288.12
5.0.50.0050.0216.59
5.0.40.0030.0256.46
5.0.30.0020.0376.27
5.0.20.0040.0226.24
5.0.10.0080.0226.22
5.0.00.0010.0366.21
4.4.90.0100.0304.78
4.4.80.0070.0164.75
4.4.70.0110.0504.75
4.4.60.0020.0224.75
4.4.50.0040.0224.77
4.4.40.0040.0324.71
4.4.30.0040.0214.76
4.4.20.0050.0204.84
4.4.10.0070.0264.84
4.4.00.0030.0374.76
4.3.110.0080.0324.66
4.3.100.0080.0244.67
4.3.90.0070.0224.63
4.3.80.0060.0384.58
4.3.70.0080.0334.63
4.3.60.0060.0214.62
4.3.50.0070.0254.63
4.3.40.0040.0324.54
4.3.30.0030.0223.27
4.3.20.0040.0333.25
4.3.10.0010.0233.22
4.3.00.0030.01313.64

preferences:
140.89 ms | 1394 KiB | 7 Q