3v4l.org

run code in 300+ PHP versions simultaneously
<?php function absolute_path($base, $relative) { list($stack, $parts) = [explode('/', $base), explode('/', $relative)]; array_pop($stack); for ($i = 0; $i < count($parts); $i++) { if ($parts[$i] == '') continue; elseif ($parts[$i] == '..') array_pop($stack); else array_push($stack, $parts[$i]); } return join('/', $stack); } echo absolute_path( 'http://mhelper.ru/project/dev/works/ElenaBeauty/index.html', '../../../styles/owl.carousel.css' );

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.40.0190.00018.97
8.3.30.0140.00018.67
8.3.20.0050.00320.87
8.3.10.0070.00022.09
8.3.00.0050.00323.61
8.2.170.0110.00322.96
8.2.160.0100.00721.96
8.2.150.0030.00624.18
8.2.140.0000.00824.66
8.2.130.0040.00426.16
8.2.120.0080.00026.16
8.2.110.0090.00020.36
8.2.100.0080.00418.03
8.2.90.0000.00817.90
8.2.80.0000.01018.73
8.2.70.0040.00417.49
8.2.60.0080.00017.72
8.2.50.0080.00017.98
8.2.40.0040.00419.95
8.2.30.0040.00418.03
8.2.20.0040.00418.00
8.2.10.0000.00719.18
8.2.00.0000.00719.17
8.1.270.0000.00822.48
8.1.260.0000.00826.35
8.1.250.0030.00628.09
8.1.240.0000.00923.98
8.1.230.0090.00619.00
8.1.220.0030.00517.79
8.1.210.0000.00818.77
8.1.200.0040.00417.22
8.1.190.0100.00017.10
8.1.180.0000.00818.10
8.1.170.0080.00017.62
8.1.160.0050.00218.79
8.1.150.0030.00319.00
8.1.140.0040.00420.75
8.1.130.0040.00420.04
8.1.120.0030.00317.47
8.1.110.0040.00417.45
8.1.100.0050.00317.46
8.1.90.0080.00017.33
8.1.80.0050.00317.48
8.1.70.0000.00717.32
8.1.60.0050.00317.52
8.1.50.0040.00717.55
8.1.40.0030.00517.52
8.1.30.0000.00817.63
8.1.20.0040.00417.50
8.1.10.0040.00717.57
8.1.00.0000.00817.47
8.0.300.0040.00419.79
8.0.290.0000.00716.60
8.0.280.0000.00718.40
8.0.270.0000.00717.88
8.0.260.0040.00420.07
8.0.250.0070.00016.91
8.0.240.0040.00416.93
8.0.230.0000.00916.86
8.0.220.0000.00716.78
8.0.210.0000.00816.89
8.0.200.0040.00416.82
8.0.190.0040.00416.97
8.0.180.0040.00416.94
8.0.170.0060.00316.89
8.0.160.0040.00416.84
8.0.150.0040.00416.84
8.0.140.0040.00416.74
8.0.130.0000.00513.40
8.0.120.0000.00816.86
8.0.110.0030.00516.71
8.0.100.0080.00016.95
8.0.90.0030.00616.71
8.0.80.0060.01116.83
8.0.70.0040.00416.70
8.0.60.0000.00717.00
8.0.50.0040.00416.75
8.0.30.0130.00317.09
8.0.20.0150.00417.06
8.0.10.0040.00416.82
8.0.00.0080.00916.87
7.4.330.0050.00016.89
7.4.320.0000.00616.51
7.4.300.0000.00616.50
7.4.290.0050.00316.41
7.4.280.0040.00416.57
7.4.270.0050.00216.51
7.4.260.0050.00013.23
7.4.250.0040.00416.47
7.4.240.0000.00816.52
7.4.230.0070.00016.43
7.4.220.0040.00416.48
7.4.210.0100.00816.54
7.4.200.0050.00216.62
7.4.130.0080.00816.65
7.4.120.0060.01516.66
7.4.110.0090.00916.43
7.4.100.0070.01516.58
7.4.90.0070.01016.46
7.4.80.0150.00619.39
7.4.70.0100.00616.52
7.4.60.0120.01216.59
7.4.50.0020.01016.48
7.4.40.0100.00616.45
7.4.10.0070.01014.93
7.4.00.0070.01114.88
7.3.330.0030.00316.24
7.3.320.0050.00013.17
7.3.310.0000.00716.37
7.3.300.0000.00716.39
7.3.290.0090.00616.33
7.3.280.0160.00016.25
7.3.260.0190.00316.32
7.3.240.0110.00816.39
7.3.230.0060.01216.45
7.3.210.0060.01416.58
7.3.200.0100.01116.36
7.3.190.0070.01416.54
7.3.180.0030.01316.38
7.3.170.0160.00016.53
7.3.160.0060.00916.38
7.3.130.0070.00914.96
7.3.120.0060.01114.89
7.3.110.0060.01014.49
7.3.100.0070.00814.85
7.3.90.0070.00814.77
7.3.80.0040.00814.70
7.3.70.0050.00814.89
7.3.60.0020.01114.62
7.3.50.0050.01014.79
7.3.40.0100.00614.84
7.3.30.0050.00814.72
7.3.20.0080.00715.73
7.3.10.0100.00715.54
7.3.00.0030.01115.60
7.2.330.0130.00316.78
7.2.320.0090.00916.89
7.2.310.0040.01216.75
7.2.300.0110.01416.56
7.2.290.0120.00916.52
7.2.260.0080.00914.96
7.2.250.0090.00715.19
7.2.240.0090.00515.09
7.2.230.0060.00715.08
7.2.220.0070.01015.03
7.2.210.0070.00715.21
7.2.200.0050.01015.06
7.2.190.0060.00914.93
7.2.180.0090.00615.08
7.2.170.0020.01214.93
7.2.160.0080.00714.98
7.2.150.0060.01015.92
7.2.140.0130.00515.90
7.2.130.0090.01116.07
7.2.120.0070.00715.97
7.2.110.0020.01515.95
7.2.100.0100.00815.94
7.2.90.0070.01116.00
7.2.80.0060.00615.98
7.2.70.0070.00815.85
7.2.60.0060.00815.99
7.2.50.0060.00916.00
7.2.40.0070.00815.99
7.2.30.0070.00915.90
7.2.20.0060.01015.84
7.2.10.0070.00915.88
7.2.00.0040.01115.97

preferences:
59.11 ms | 400 KiB | 5 Q