3v4l.org

run code in 300+ PHP versions simultaneously
<?php $prefix = "/opt/git/repositories/"; $cwd = "/opt/git/repositories/libs/commponent/common"; $gitwebUrl = 'http://packagist.alpari-ru.dom'; if (substr($cwd, 0, strlen($prefix))) { $relative = substr($cwd, length($prefix) + 1); echo "$gitwebUrl/$relative"; } else { echo "error"; }

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)
8.3.60.0070.01416.88
8.3.50.0110.00317.93
8.3.40.0150.00418.76
8.3.30.0070.00718.79
8.3.20.0080.00820.14
8.3.10.0120.00623.51
8.3.00.0150.00019.38
8.2.180.0120.00318.43
8.2.170.0040.01122.96
8.2.160.0100.00320.52
8.2.150.0100.01024.18
8.2.140.0050.00924.66
8.2.130.0060.00317.38
8.2.120.0070.00026.35
8.2.110.0000.01219.29
8.2.100.0060.00617.63
8.2.90.0000.00819.08
8.2.80.0040.00417.97
8.2.70.0040.00417.36
8.2.60.0030.00617.80
8.2.50.0060.00318.07
8.2.40.0000.00719.23
8.2.30.0040.00420.64
8.2.20.0000.00817.66
8.2.10.0070.00017.91
8.2.00.0000.00718.14
8.1.280.0130.00725.92
8.1.270.0030.00623.82
8.1.260.0140.00328.09
8.1.250.0030.01028.09
8.1.240.0140.00317.52
8.1.230.0120.00017.77
8.1.220.0040.00417.74
8.1.210.0050.00318.77
8.1.200.0030.00617.13
8.1.190.0060.00317.23
8.1.180.0070.00018.10
8.1.170.0090.00018.78
8.1.160.0000.00721.96
8.1.150.0000.00718.86
8.1.140.0070.00017.46
8.1.130.0030.00317.65
8.1.120.0030.00517.32
8.1.110.0040.00417.41
8.1.100.0050.00317.41
8.1.90.0040.00417.41
8.1.80.0030.00517.43
8.1.70.0040.00417.41
8.1.60.0000.00717.46
8.1.50.0040.00417.55
8.1.40.0080.00017.54
8.1.30.0030.00617.59
8.1.20.0080.00017.61
8.1.10.0070.00017.46
8.1.00.0000.00817.59
8.0.300.0040.00418.77
8.0.290.0000.00716.63
8.0.280.0030.00518.26
8.0.270.0040.00416.87
8.0.260.0060.00017.27
8.0.250.0030.00316.89
8.0.240.0080.00016.92
8.0.230.0050.00216.89
8.0.220.0000.00816.88
8.0.210.0030.00716.91
8.0.200.0060.00016.98
8.0.190.0000.00716.95
8.0.180.0040.00416.90
8.0.170.0000.00816.92
8.0.160.0000.00716.91
8.0.150.0070.00016.75
8.0.140.0070.00416.78
8.0.130.0000.00513.35
8.0.120.0000.00816.89
8.0.110.0020.00516.78
8.0.100.0000.00716.96
8.0.90.0000.00816.89
8.0.80.0040.01116.89
8.0.70.0040.00416.89
8.0.60.0040.00416.95
8.0.50.0000.00716.91
8.0.30.0140.00616.88
8.0.20.0140.00917.40
8.0.10.0000.00716.85
8.0.00.0100.00816.67
7.4.330.0020.00216.82
7.4.320.0060.00016.57
7.4.300.0030.00316.56
7.4.290.0000.00716.62
7.4.280.0000.00816.61
7.4.270.0040.00416.65
7.4.260.0000.00716.36
7.4.250.0000.00716.50
7.4.240.0030.00316.49
7.4.230.0030.00316.72
7.4.220.0100.01016.56
7.4.210.0110.00716.52
7.4.200.0000.00716.71
7.4.160.0040.01216.58
7.4.150.0060.01217.40
7.4.140.0080.01117.86
7.4.130.0090.01116.54
7.4.120.0160.00216.64
7.4.110.0120.00716.36
7.4.100.0170.00316.55
7.4.90.0100.00716.51
7.4.80.0090.01219.39
7.4.70.0140.00316.73
7.4.60.0120.00316.59
7.4.50.0090.00616.53
7.4.40.0040.01216.54
7.4.30.0120.00616.66
7.4.00.0060.01014.89
7.3.330.0050.00013.09
7.3.320.0030.00513.16
7.3.310.0030.00316.40
7.3.300.0070.00016.31
7.3.290.0030.00316.36
7.3.280.0030.01516.33
7.3.270.0100.02017.40
7.3.260.0100.00716.30
7.3.250.0090.00816.43
7.3.240.0060.01116.29
7.3.230.0140.00716.39
7.3.210.0000.01616.38
7.3.200.0060.01016.32
7.3.190.0040.01216.50
7.3.180.0040.01216.55
7.3.170.0100.00716.41
7.3.160.0160.00016.39
7.2.330.0170.00616.56
7.2.320.0040.02016.60
7.2.310.0070.01316.60
7.2.300.0090.00616.56
7.2.290.0110.00516.48
7.2.60.0050.00516.50
7.2.00.0060.00619.00
7.1.200.0060.00315.57
7.1.100.0000.00818.10
7.1.70.0000.00917.00
7.1.60.0070.01019.36
7.1.50.0100.00016.95
7.1.00.0070.07322.33
7.0.200.0030.00816.87
7.0.60.0030.07719.79
7.0.50.0070.05317.91
7.0.40.0100.04019.96
7.0.30.0230.06320.04
7.0.20.0400.04320.38
7.0.10.0100.05320.32
7.0.00.0130.06320.09
5.6.280.0070.06321.12
5.6.210.0070.08320.54
5.6.200.0100.04018.16
5.6.190.0130.08320.41
5.6.180.0370.03720.39
5.6.170.0330.05020.48
5.6.160.0030.04320.71
5.6.150.0030.06018.08
5.6.140.0070.07718.07
5.6.130.0200.06018.13
5.6.120.0130.03721.02
5.6.110.0000.04721.01
5.6.100.0130.08020.95
5.6.90.0230.06320.99
5.6.80.0170.07320.36
5.5.350.4370.04320.27
5.5.340.0100.06717.95
5.5.330.0000.04320.12
5.5.320.0130.04320.51
5.5.310.0300.07020.13
5.5.300.0100.07717.92
5.5.290.0000.05018.02
5.5.280.0130.07720.87
5.5.270.0030.06020.83
5.5.260.0100.08320.64
5.5.250.0070.05320.69
5.5.240.0300.07020.14

preferences:
62.37 ms | 400 KiB | 5 Q