3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = []; $array = [ 'json' => [ 'query' => <<<'TEST' BLAH BLAH BLAH BLAH BLAH BLAH BLAH BLAH BLAH TEST; ], ]; var_dump($array);

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.1.30.0110.00717.40
8.1.20.0190.00617.43
8.1.10.0250.00117.43
8.1.00.0240.00517.33
8.0.160.0130.00416.84
8.0.150.0150.00716.76
8.0.140.0150.00716.81
8.0.130.0200.00116.78
8.0.120.0170.00416.80
8.0.110.0140.00516.85
8.0.100.0150.00516.79
8.0.90.0110.01016.77
8.0.80.0150.00716.80
8.0.70.0170.00316.79
8.0.60.0150.00616.80
8.0.50.0160.00516.79
8.0.30.0200.00216.79
8.0.20.0110.00916.84
8.0.10.0160.00516.86
7.4.280.0090.00916.35
7.4.270.0140.00916.45
7.4.260.0180.00516.32
7.4.250.0130.00516.31
7.4.240.0060.00316.44
7.4.230.0070.00416.38
7.4.220.0180.00116.36
7.4.210.0150.00616.47
7.4.200.0150.00616.36
7.4.190.0170.00416.38
7.4.180.0170.00416.35
7.4.160.0180.00416.33
7.4.150.0120.00916.45
7.4.140.0150.00516.29
7.4.130.0150.00716.18
7.4.120.0150.00516.15
7.4.110.0160.00416.25
7.4.100.0180.00316.27
7.4.90.0160.00416.23
7.4.80.0150.00316.17
7.4.70.0180.00216.22
7.4.60.0130.00516.27
7.4.50.0150.00516.08
7.4.40.0150.00416.13
7.4.30.0120.00616.22
7.4.20.0140.00516.24
7.4.10.0090.00416.29
7.4.00.0140.00416.30

preferences:
151.7 ms | 1279 KiB | 7 Q