3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $arr = explode('/cards', "/v1/marketplaces/MP7wmpk87oT2tghkbg5hteQ2/cards/CC7AzCpKDad3cgn3oKWq1jZo"); $card = "https://api.balancedpayments.com/cards/CC7AzCpKDad3cgn3oKWq1jZo/cards" . $arr[1]; echo $card; ?>

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).
Note: hhvm uses a JIT which only kicks in after a few runs. Since we run scripts only once, hhvm always runs slower.

VersionSystem time (s)User time (s)Memory (MiB)
7.2.00.0060.00619.55
7.1.100.0050.00517.98
7.1.70.0060.00617.12
7.1.60.0160.00719.33
7.1.50.0090.01216.89
7.1.00.0000.08022.35
7.0.200.0040.00416.71
7.0.140.0130.05722.21
7.0.60.0000.08319.96
7.0.50.0070.07717.76
7.0.40.0030.05020.19
7.0.30.0200.04020.00
7.0.20.0170.04320.22
7.0.10.0100.06320.04
7.0.00.0070.08320.20
5.6.280.0070.07021.00
5.6.210.0030.08320.74
5.6.200.0030.09018.22
5.6.190.0070.07720.67
5.6.180.0270.06320.53
5.6.170.0230.08020.40
5.6.160.0030.08720.37
5.6.150.0070.08018.18
5.6.140.0130.07318.21
5.6.130.0070.08318.22
5.6.120.0130.07720.97
5.6.110.0130.06720.98
5.6.100.0070.08320.98
5.6.90.0100.08720.99
5.6.80.0000.05020.39
5.6.70.4430.04020.39
5.5.350.0100.07020.52
5.5.340.0130.07317.92
5.5.330.0070.06320.07
5.5.320.0070.04020.29
5.5.310.0270.07720.41
5.5.300.0130.06717.97
5.5.290.0030.05018.00
5.5.280.0070.07720.86
5.5.270.0030.06020.78
5.5.260.0130.07720.68
5.5.250.0070.08020.57
5.5.240.0200.05720.18
5.4.450.0730.05719.47
5.4.440.0870.06319.61
5.4.430.0300.06319.24
5.4.420.0170.05719.11
5.4.410.0870.04719.34
5.4.400.0230.04719.15
5.4.390.0870.05319.18
5.4.380.0400.05018.74
5.4.370.0230.05318.58
5.4.360.0400.05718.51
5.4.350.0200.05718.65
5.4.340.0270.05018.53
5.4.320.0040.03912.45
5.4.310.0070.04712.45
5.4.300.0090.04112.45
5.4.290.0060.04912.45
5.4.280.0060.04012.32
5.4.270.0160.08112.32
5.4.260.0150.06612.32
5.4.250.0080.04412.32
5.4.240.0080.03912.32
5.4.230.0110.05012.31
5.4.220.0140.04812.31
5.4.210.0090.05112.31
5.4.200.0110.03912.31
5.4.190.0050.04312.30
5.4.180.0070.04012.31
5.4.170.0080.03912.32
5.4.160.0090.03812.32
5.4.150.0090.04012.31
5.4.140.0080.04311.99
5.4.130.0100.03611.98
5.4.120.0040.03911.94
5.4.110.0070.04011.93
5.4.100.0090.03511.93
5.4.90.0080.04011.94
5.4.80.0110.04711.94
5.4.70.0070.04911.93
5.4.60.0120.05411.93
5.4.50.0070.04011.93
5.4.40.0090.03711.92
5.4.30.0100.04511.92
5.4.20.0100.03711.92
5.4.10.0090.03711.92
5.4.00.0070.03911.40
5.3.290.0050.04912.80
5.3.280.0090.04012.71
5.3.270.0100.04412.73
5.3.260.0150.03812.72
5.3.250.0120.04712.72
5.3.240.0120.04712.72
5.3.230.0140.06312.71
5.3.220.0110.07312.68
5.3.210.0310.09612.68
5.3.200.0180.08812.68
5.3.190.0070.06512.68
5.3.180.0070.06412.67
5.3.170.0070.05712.67
5.3.160.0190.07412.67
5.3.150.0100.05012.67
5.3.140.0160.05012.66
5.3.130.0120.04112.66
5.3.120.0090.04912.66
5.3.110.0110.05012.66
5.3.100.0070.05112.12
5.3.90.0080.06212.08
5.3.80.0130.08412.07
5.3.70.0130.04512.07
5.3.60.0120.05712.06
5.3.50.0120.05712.00
5.3.40.0080.04012.00
5.3.30.0080.05111.94
5.3.20.0070.05011.70
5.3.10.0050.05211.67
5.3.00.0080.05011.66
5.2.170.0080.0429.15
5.2.160.0100.0349.15
5.2.150.0070.0429.15
5.2.140.0060.0339.14
5.2.130.0060.0329.11
5.2.120.0070.0339.11
5.2.110.0070.0339.11
5.2.100.0110.0509.11
5.2.90.0090.0519.11
5.2.80.0180.0439.11
5.2.70.0180.0379.10
5.2.60.0120.0549.06
5.2.50.0120.0439.03
5.2.40.0070.0369.01
5.2.30.0060.0348.98
5.2.20.0120.0348.96
5.2.10.0120.0398.89
5.2.00.0090.0398.75
5.1.60.0090.0298.04
5.1.50.0060.0318.04
5.1.40.0070.0368.03
5.1.30.0050.0318.37
5.1.20.0060.0308.40
5.1.10.0050.0328.13
5.1.00.0040.0338.12
5.0.50.0040.0306.60
5.0.40.0080.0246.46
5.0.30.0040.0476.27
5.0.20.0100.0236.24
5.0.10.0090.0246.22
5.0.00.0050.0506.21
4.4.90.0080.0324.78
4.4.80.0060.0264.75
4.4.70.0100.0394.76
4.4.60.0080.0224.76
4.4.50.0070.0254.77
4.4.40.0040.0404.71
4.4.30.0040.0254.76
4.4.20.0060.0474.84
4.4.10.0120.0424.85
4.4.00.0090.0494.76
4.3.110.0060.0454.67
4.3.100.0080.0304.67
4.3.90.0040.0244.63
4.3.80.0080.0444.58
4.3.70.0070.0194.63
4.3.60.0220.0594.63
4.3.50.0060.0224.63
4.3.40.0040.0334.53
4.3.30.0040.0213.27
4.3.20.0050.0193.25
4.3.10.0020.0233.21
4.3.00.0130.03310.30