3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo json_encode( array( ["column"] => array( [0] => "Country", [1] => "Drug", [2] => "Cycles", [3] => "Price / cycle", [4] => "Price / treatment" ), ["row"] => array ( [0] => array ( [0] => "United Kingdom", [1] => "Efudix 40g CREAM 50mg / g Meda Pharmaceuticals Ltd", [2] => "1-6", [3] => "26.17", [4] => "157.02" ), [1] => array ( [0] => "United Kingdom", [1] => "Cyclophosphamide 100 Film coated tablets 50mg ", [2] => "1-6", [3] => "13.05", [4] => "78.3" ), [2] => array ( [0] => "United Kingdom", [1] => "Doxorubin 10vials Powder for solution for injection 10mg Medac UK", [2] => "1-6", [3] => 145.43, [4] => 872.58 ), [3] => array ( [0] => "United Kingdom", [1] => "Paclitaxel 50ml Concentration For Solution For Infusion 6mg / ml ", [2] => "7-10", [3] => 765.05, [4] => 3060.2 ) ) ));

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.6.280.0070.07021.11
5.6.240.0070.04720.52
5.6.230.0030.04320.66
5.6.220.0070.07720.63
5.6.210.0170.04020.46
5.6.200.0100.07321.11
5.6.190.0000.07720.97
5.6.180.0030.08721.11
5.6.170.0130.08021.07
5.6.160.0100.07721.02
5.6.150.0130.08020.98
5.6.140.0130.07320.93
5.6.130.0130.08321.06
5.6.120.0100.08321.06
5.6.110.0070.08720.97
5.6.100.0100.05020.93
5.6.90.0100.03720.99
5.6.80.0130.06020.52
5.6.70.0230.03720.55
5.6.60.0100.07020.41
5.6.50.0100.07020.46
5.6.40.0030.05720.43
5.6.30.0030.05320.38
5.6.20.0070.08320.38
5.6.10.0030.08320.36
5.6.00.0070.08020.37
5.5.380.0070.05320.46
5.5.370.0130.04020.40
5.5.360.0100.07020.39
5.5.350.0000.05020.46
5.5.340.0100.04020.64
5.5.330.0100.08320.74
5.5.320.0070.08320.93
5.5.310.0100.05020.80
5.5.300.0030.09020.89
5.5.290.0030.09020.92
5.5.280.0000.07320.88
5.5.270.0070.07720.64
5.5.260.0100.03720.82
5.5.250.0030.06020.55
5.5.240.0070.07320.26
5.5.230.0030.08020.21
5.5.220.0130.07320.31
5.5.210.0070.05720.03
5.5.200.0070.07720.23
5.5.190.0130.06020.24
5.5.180.0100.07320.18
5.5.160.0200.03720.00
5.5.150.0030.04320.19
5.5.140.0130.03720.24
5.5.130.0100.07020.27
5.5.120.0000.06320.27
5.5.110.0030.04319.99
5.5.100.0100.07320.08
5.5.90.0030.05720.08
5.5.80.0070.07720.16
5.5.70.0030.07320.09
5.5.60.0070.06720.05
5.5.50.0030.08020.01
5.5.40.0170.06720.06
5.5.30.0070.04020.14
5.5.20.0100.07320.09
5.5.10.0070.04319.98
5.5.00.0070.08320.08
5.4.450.0030.04719.40
5.4.440.0070.04319.40
5.4.430.0070.05719.55
5.4.420.0000.05719.29
5.4.410.0000.04719.12
5.4.400.0070.05319.04
5.4.390.0130.03019.07
5.4.380.0130.07319.10
5.4.370.0130.07018.90
5.4.360.0070.05018.81
5.4.350.0170.02718.85
5.4.340.0230.06019.08
5.4.320.0070.07318.96
5.4.310.0030.05019.05
5.4.300.0000.08018.94
5.4.290.0070.07719.04
5.4.280.0070.07319.09
5.4.270.0030.04018.94
5.4.260.0000.08019.04
5.4.250.0100.06319.22
5.4.240.0070.08018.96
5.4.230.0100.06719.02
5.4.220.0070.07719.06
5.4.210.0130.06719.02
5.4.200.0100.06718.80
5.4.190.0130.06718.77
5.4.180.0030.04019.03
5.4.170.0130.05019.18
5.4.160.0070.07019.00
5.4.150.0100.05319.01
5.4.140.0070.07016.32
5.4.130.0000.05316.31
5.4.120.0070.07316.33
5.4.110.0030.04716.26
5.4.100.0070.06016.25
5.4.90.0170.04716.32
5.4.80.0100.07316.42
5.4.70.0100.06316.34
5.4.60.0100.04016.42
5.4.50.0100.06716.30
5.4.40.0100.04016.48
5.4.30.0030.04016.18
5.4.20.0100.05016.41
5.4.10.0130.06716.41
5.4.00.0130.03315.68
5.3.290.0130.07014.55
5.3.280.0130.06714.58
5.3.270.0100.07014.58
5.3.260.0100.07714.57
5.3.250.0070.07314.60
5.3.240.0070.07314.62
5.3.230.0070.05014.54
5.3.220.0070.07014.51
5.3.210.0200.06314.50
5.3.200.0100.07014.38
5.3.190.0030.08314.39
5.3.180.0130.06714.45
5.3.170.0100.05014.54
5.3.160.0070.07714.55
5.3.150.0170.06714.50
5.3.140.0130.07014.39
5.3.130.0030.08014.51
5.3.120.0100.07314.52
5.3.110.0130.07014.37
5.3.100.0000.08014.02
5.3.90.0130.06713.84
5.3.80.0100.06714.01
5.3.70.0070.07313.96
5.3.60.0030.07013.97
5.3.50.0000.05013.92
5.3.40.0000.06713.91
5.3.30.0030.07713.90
5.3.20.0030.04713.46
5.3.10.0070.06713.61
5.3.00.0100.06013.59
5.2.170.0070.05011.06
5.2.160.0030.06010.99
5.2.150.0000.07010.97
5.2.140.0000.06011.14
5.2.130.0030.03710.89
5.2.120.0100.06011.10
5.2.110.0070.06311.05
5.2.100.0070.04011.09
5.2.90.0130.05311.02
5.2.80.0030.04311.07
5.2.70.0000.04711.17
5.2.60.0030.04310.88
5.2.50.0030.04311.09
5.2.40.0100.05311.06
5.2.30.0000.04310.84
5.2.20.0030.05710.84
5.2.10.0030.05010.90
5.2.00.0100.04710.66
5.1.60.0000.03310.04
5.1.50.0070.05010.02
5.1.40.0070.0479.96
5.1.30.0030.05010.39
5.1.20.0030.04310.41
5.1.10.0030.06010.05
5.1.00.0130.03010.05
5.0.50.0070.0378.43
5.0.40.0030.0478.45
5.0.30.0100.0538.07
5.0.20.0000.0408.20
5.0.10.0030.0408.23
5.0.00.0070.0638.15
4.4.90.0000.0238.07
4.4.80.0070.0278.07
4.4.70.0070.0338.07
4.4.60.0030.0308.07
4.4.50.0000.0208.07
4.4.40.0000.0578.07
4.4.30.0030.0278.07
4.4.20.0030.0338.07
4.4.10.0070.0338.07
4.4.00.0000.0338.07
4.3.110.0030.0308.07
4.3.100.0030.0338.07
4.3.90.0000.0238.07
4.3.80.0000.0308.07
4.3.70.0030.0338.07
4.3.60.0030.0338.07
4.3.50.0000.0378.07
4.3.40.0030.0478.07
4.3.30.0000.0308.07
4.3.20.0070.0278.07
4.3.10.0000.0338.07
4.3.00.0070.0308.07

preferences:
148.2 ms | 1394 KiB | 7 Q