3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = array( 'bold' => false, 'color' => array('argb' => 'FF000000'), 'size' => 8, ) echo json_encode($a);

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.260.0070.07719.09
5.4.250.0130.07018.65
5.4.240.0200.04718.94
5.4.230.0200.06718.99
5.4.220.0300.07018.76
5.4.210.0130.04718.99
5.4.200.0100.04718.79
5.4.190.0070.05018.76
5.4.180.0070.07018.75
5.4.170.0000.06018.83
5.4.160.0070.05018.92
5.4.150.0000.05718.95
5.4.140.0070.05316.44
5.4.130.0070.05016.45
5.4.120.0030.05016.42
5.4.110.0070.05016.47
5.4.100.0100.04716.38
5.4.90.0100.04316.42
5.4.80.0070.04716.39
5.4.70.0130.05016.53
5.4.60.0070.04716.39
5.4.50.0130.04316.59
5.4.40.0230.03316.65
5.4.30.0030.05016.45
5.4.20.0070.04716.48
5.4.10.0000.05316.48
5.4.00.0100.04315.75
5.3.280.0100.06714.69
5.3.270.0200.04314.45
5.3.260.0100.04714.62
5.3.250.0100.05014.46
5.3.240.0030.05314.45
5.3.230.0130.04714.61
5.3.220.0030.05014.58
5.3.210.0130.07314.71
5.3.200.0070.04714.34
5.3.190.0100.07014.55
5.3.180.0100.04714.34
5.3.170.0100.05714.47
5.3.160.0070.04714.41
5.3.150.0100.04314.56
5.3.140.0070.04714.41
5.3.130.0030.05714.57
5.3.120.0100.04714.64
5.3.110.0100.04714.40
5.3.100.0100.05314.05
5.3.90.0000.05314.04
5.3.80.0070.04714.06
5.3.70.0000.06714.07
5.3.60.0070.05713.87
5.3.50.0130.04013.86
5.3.40.0070.06313.96
5.3.30.0100.06714.00
5.3.20.0070.06013.84
5.3.10.0070.04313.64
5.3.00.0100.04713.64
5.2.170.0000.04711.14
5.2.160.0030.04011.13
5.2.150.0070.03711.16
5.2.140.0070.04011.07
5.2.130.0100.05011.21
5.2.120.0030.05310.86
5.2.110.0100.04011.09
5.2.100.0070.03711.11
5.2.90.0030.04011.03
5.2.80.0000.04310.93
5.2.70.0130.03311.08
5.2.60.0030.04011.21
5.2.50.0070.05010.78
5.2.40.0100.03311.11
5.2.30.0070.03710.98
5.2.20.0000.04011.11
5.2.10.0230.04010.62
5.2.00.0030.04010.64
5.1.60.0070.0309.92
5.1.50.0000.0379.86
5.1.40.0030.0339.88
5.1.30.0030.04310.23
5.1.20.0070.03310.36
5.1.10.0130.0309.92
5.1.00.0000.0409.86
5.0.50.0000.0308.47
5.0.40.0070.0238.18
5.0.30.0030.0407.99
5.0.20.0030.0238.38
5.0.10.0070.0238.15
5.0.00.0030.0438.39
4.4.90.0000.0236.79
4.4.80.0030.0206.79
4.4.70.0030.0206.79
4.4.60.0000.0236.79
4.4.50.0000.0236.79
4.4.40.0070.0276.79
4.4.30.0030.0206.79
4.4.20.0030.0206.79
4.4.10.0030.0306.79
4.4.00.0000.0406.79
4.3.110.0030.0206.79
4.3.100.0000.0206.79
4.3.90.0030.0206.79
4.3.80.0030.0306.79
4.3.70.0000.0236.79
4.3.60.0000.0206.79
4.3.50.0000.0236.79
4.3.40.0000.0476.79
4.3.30.0030.0206.79
4.3.20.0000.0236.79
4.3.10.0000.0236.79
4.3.00.0000.0237.32

preferences:
142.79 ms | 1394 KiB | 7 Q