3v4l.org

run code in 300+ PHP versions simultaneously
<?php for ( $q =0; $q < 1000; ++$q ) { $a[] = ['id' => '6554', 'sender_id' => '2456396359639', 'time' => '34535656'] }

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.270.0100.05319.01
5.4.260.0130.05319.02
5.4.250.0230.04318.83
5.4.240.0100.08018.77
5.4.230.0170.07018.95
5.4.220.0100.08018.78
5.4.210.0200.06318.73
5.4.200.0100.05018.93
5.4.190.0100.06718.63
5.4.180.0130.05318.63
5.4.170.0100.05718.95
5.4.160.0070.08018.76
5.4.150.0030.08718.82
5.4.140.0170.07716.28
5.4.130.0230.06016.39
5.4.120.0170.06716.39
5.4.110.0100.07316.27
5.4.100.0100.06716.46
5.4.90.0070.06716.30
5.4.80.0130.06016.45
5.4.70.0070.05016.54
5.4.60.0000.05716.43
5.4.50.0130.05316.41
5.4.40.0100.07016.45
5.4.30.0100.06716.43
5.4.20.0070.07316.35
5.4.10.0200.04016.33
5.4.00.0130.06316.02
5.3.280.0100.07014.48
5.3.270.0030.06014.52
5.3.260.0130.05314.53
5.3.250.0100.05714.61
5.3.240.0170.05314.70
5.3.230.0030.05714.45
5.3.220.0130.06714.59
5.3.210.0170.07014.59
5.3.200.0070.07314.61
5.3.190.0100.05714.58
5.3.180.0070.05014.44
5.3.170.0100.07314.34
5.3.160.0070.05314.57
5.3.150.0130.06714.43
5.3.140.0100.04714.33
5.3.130.0100.05314.57
5.3.120.0170.05714.54
5.3.110.0100.07314.55
5.3.100.0170.05714.08
5.3.90.0170.06014.05
5.3.80.0070.05014.04
5.3.70.0100.04714.05
5.3.60.0100.05013.84
5.3.50.0100.05013.80
5.3.40.0100.05313.80
5.3.30.0200.03713.96
5.3.20.0030.05313.84
5.3.10.0030.06013.65
5.3.00.0030.05713.34
5.2.170.0100.04311.04
5.2.160.0030.06011.02
5.2.150.0070.05010.97
5.2.140.0070.03711.13
5.2.130.0130.03710.98
5.2.120.0030.06011.02
5.2.110.0100.04011.11
5.2.100.0100.03311.11
5.2.90.0070.05311.01
5.2.80.0070.05310.98
5.2.70.0030.06011.24
5.2.60.0100.05010.82
5.2.50.0230.03311.01
5.2.40.0070.05711.01
5.2.30.0030.05310.97
5.2.20.0100.05310.88
5.2.10.0130.04710.75
5.2.00.0100.04710.62
5.1.60.0070.04710.02
5.1.50.0100.03310.18
5.1.40.0130.03310.04
5.1.30.0130.03310.51
5.1.20.0170.03710.26
5.1.10.0100.03310.12
5.1.00.0030.03710.03
5.0.50.0100.0338.39
5.0.40.0070.0238.55
5.0.30.0070.0538.24
5.0.20.0030.0338.15
5.0.10.0070.0238.25
5.0.00.0000.0578.24
4.4.90.0100.0236.39
4.4.80.0030.0206.39
4.4.70.0100.0236.39
4.4.60.0030.0206.39
4.4.50.0000.0336.39
4.4.40.0030.0376.39
4.4.30.0030.0206.39
4.4.20.0000.0236.39
4.4.10.0070.0176.39
4.4.00.0070.0306.39
4.3.110.0030.0336.39
4.3.100.0000.0236.39
4.3.90.0070.0236.39
4.3.80.0070.0406.39
4.3.70.0030.0276.39
4.3.60.0100.0176.39
4.3.50.0030.0306.39
4.3.40.0000.0376.39
4.3.30.0000.0276.39
4.3.20.0000.0236.39
4.3.10.0030.0206.39
4.3.00.0200.0136.50

preferences:
144.6 ms | 1398 KiB | 7 Q