3v4l.org

run code in 300+ PHP versions simultaneously
<?php $f = ['softrip' => ['externalSourceId' => 1, 'wtf' => 'bbq']]; $g = ['softrip' => ['externalSourceId' => 2]] var_dump(array_merge($f, $g));

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.390.0200.06018.67
5.4.380.0300.07318.55
5.4.370.0400.04318.54
5.4.360.0230.05718.72
5.4.350.0200.06018.70
5.4.340.0330.04718.74
5.4.320.0330.04718.74
5.4.310.0230.05718.73
5.4.300.0230.05318.79
5.4.290.0200.05318.64
5.4.280.0230.05318.71
5.4.270.0270.05018.49
5.4.260.0300.05018.70
5.4.250.0300.05018.73
5.4.240.0170.06018.72
5.4.230.0200.05318.68
5.4.220.0200.05718.70
5.4.210.0230.05018.66
5.4.200.0330.04016.55
5.4.190.0230.05318.50
5.4.180.0170.06018.44
5.4.170.0200.05718.56
5.4.160.0270.04718.53
5.4.150.0230.05318.70
5.4.140.0170.05716.18
5.4.130.0330.04316.29
5.4.120.0200.05016.43
5.4.110.0200.05316.29
5.4.100.0370.06316.43
5.4.90.0330.06716.26
5.4.80.0370.05716.17
5.4.70.0330.04716.30
5.4.60.0270.05316.29
5.4.50.0170.06316.20
5.4.40.0300.05016.26
5.4.30.0370.04316.33
5.4.20.0230.05316.25
5.4.10.0400.03316.24
5.4.00.0230.04715.66
5.3.290.0230.05314.77
5.3.280.0230.05714.59
5.3.270.0300.05314.54
5.3.260.0270.05314.60
5.3.250.0200.06014.68
5.3.240.0200.06714.58
5.3.230.0330.05314.54
5.3.220.0400.04714.62
5.3.210.0200.06314.54
5.3.200.0300.05014.58
5.3.190.0330.05314.50
5.3.180.0430.05014.54
5.3.170.0370.04714.49
5.3.160.0170.05314.52
5.3.150.0170.05714.47
5.3.140.0200.05314.47
5.3.130.0330.05314.62
5.3.120.0300.05714.48
5.3.110.0430.05714.46
5.3.100.0230.05714.02
5.3.90.0200.06714.12
5.3.80.0130.08013.99
5.3.70.0170.05713.99
5.3.60.0270.07013.91
5.3.50.0330.06313.97
5.3.40.0370.06013.84
5.3.30.0470.05313.82
5.3.20.0430.05313.78
5.3.10.0370.06713.65
5.3.00.0170.05313.71
5.2.170.0170.04311.13
5.2.160.0200.04011.29
5.2.150.0270.03711.05
5.2.140.0370.03311.12
5.2.130.0170.04311.14
5.2.120.0300.04011.25
5.2.110.0130.05011.23
5.2.100.0470.04011.11
5.2.90.0300.06011.08
5.2.80.0170.05011.08
5.2.70.0300.05011.16
5.2.60.0470.04710.98
5.2.50.0330.06011.05
5.2.40.0270.05011.03
5.2.30.0430.04710.96
5.2.20.0270.03710.99
5.2.10.0300.04010.84
5.2.00.0270.04010.70
5.1.60.0330.02310.08
5.1.50.0200.0409.98
5.1.40.0270.03310.09
5.1.30.0230.03310.33
5.1.20.0170.04010.50
5.1.10.0230.03310.11
5.1.00.0130.04310.06
5.0.50.0100.0338.56
5.0.40.0100.0278.38
5.0.30.0100.0478.34
5.0.20.0100.0438.28
5.0.10.0200.0308.19
5.0.00.0070.0538.18
4.4.90.0200.0205.87
4.4.80.0070.0275.92
4.4.70.0100.0205.90
4.4.60.0100.0275.81
4.4.50.0230.0205.82
4.4.40.0100.0375.86
4.4.30.0130.0305.89
4.4.20.0100.0335.93
4.4.10.0100.0335.96
4.4.00.0130.0305.93
4.3.110.0270.0275.79
4.3.100.0170.0275.82
4.3.90.0130.0205.84
4.3.80.0070.0375.77
4.3.70.0070.0235.83
4.3.60.0070.0235.77
4.3.50.0100.0205.77
4.3.40.0100.0375.73
4.3.30.0070.0334.63
4.3.20.0070.0204.52
4.3.10.0070.0234.48
4.3.00.0130.0207.22

preferences:
142.02 ms | 1394 KiB | 7 Q