3v4l.org

run code in 300+ PHP versions simultaneously
<?php $url = 'https://photoland2.etrafficgroup.com.au/frames-and-albums/frames/wooden-frames/106-a3-297-x-42cm-2/product/555-black-wooden-frame-with-gold-stripe-a3-42x29-7cm-size-1-7cm-wide/'; $initial = parse_url($url); $result = array_filter(explode('/',parse_url($url)['path'])); unset($result[4]); $filtered = implode('/',$result); echo $initial['scheme'].'://'.$initial['host'].'/'.$filtered; ?>

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.70.0140.00416.63
8.3.60.0100.01318.68
8.3.50.0110.00616.38
8.3.40.0060.00918.85
8.3.30.0070.00718.76
8.3.20.0000.00820.49
8.3.10.0080.00020.16
8.3.00.0040.00422.57
8.2.190.0040.01416.58
8.2.180.0090.00918.22
8.2.170.0070.00722.96
8.2.160.0100.00322.22
8.2.150.0040.00424.18
8.2.140.0000.00824.66
8.2.130.0070.00026.16
8.2.120.0040.00426.35
8.2.110.0090.00019.35
8.2.100.0120.00017.97
8.2.90.0050.00317.97
8.2.80.0060.00318.16
8.2.70.0000.00817.50
8.2.60.0030.00617.75
8.2.50.0040.00417.75
8.2.40.0040.00418.05
8.2.30.0000.00719.31
8.2.20.0000.00718.00
8.2.10.0040.00419.31
8.2.00.0000.00719.29
8.1.280.0100.00725.92
8.1.270.0060.00323.99
8.1.260.0080.00028.09
8.1.250.0080.00028.09
8.1.240.0030.00621.04
8.1.230.0090.00320.90
8.1.220.0000.00817.80
8.1.210.0030.00518.77
8.1.200.0100.00017.22
8.1.190.0040.00417.13
8.1.180.0050.00318.10
8.1.170.0050.00317.62
8.1.160.0000.00918.88
8.1.150.0040.00418.84
8.1.140.0030.00522.59
8.1.130.0040.00420.17
8.1.120.0050.00217.46
8.1.110.0070.00017.36
8.1.100.0050.00317.31
8.1.90.0040.00417.41
8.1.80.0050.00317.42
8.1.70.0000.00817.43
8.1.60.0040.00417.47
8.1.50.0030.00517.40
8.1.40.0050.00317.51
8.1.30.0080.00017.68
8.1.20.0040.00717.54
8.1.10.0000.00817.55
8.1.00.0080.00017.38
8.0.300.0000.00819.83
8.0.290.0000.00716.63
8.0.280.0030.00318.34
8.0.270.0000.00716.75
8.0.260.0000.00720.06
8.0.250.0040.00416.95
8.0.240.0000.00716.89
8.0.230.0030.00316.99
8.0.220.0030.00416.88
8.0.210.0000.00716.87
8.0.200.0070.00016.82
8.0.190.0040.00416.87
8.0.180.0040.00416.96
8.0.170.0060.00316.90
8.0.160.0040.00416.97
8.0.150.0030.00416.84
8.0.140.0050.00216.91
8.0.130.0000.00513.36
8.0.120.0040.00416.89
8.0.110.0000.00716.96
8.0.100.0050.00316.77
8.0.90.0040.00416.75
8.0.80.0070.00716.91
8.0.70.0040.00416.88
8.0.60.0000.00816.83
8.0.50.0000.00716.83
8.0.30.0040.01517.29
8.0.20.0110.00817.03
8.0.10.0020.00516.87
8.0.00.0060.01216.78
7.4.330.0000.00515.55
7.4.320.0060.00016.53
7.4.300.0030.00316.49
7.4.290.0070.00016.48
7.4.280.0030.00516.59
7.4.270.0030.00316.52
7.4.260.0030.00313.27
7.4.250.0050.00316.57
7.4.240.0060.00216.51
7.4.230.0040.00416.67
7.4.220.0030.00416.57
7.4.210.0010.01516.51
7.4.200.0030.00316.40
7.4.130.0120.00916.55
7.4.120.0140.01016.28
7.4.110.0100.00716.35
7.4.100.0060.01216.55
7.4.90.0170.00716.52
7.4.80.0100.01019.39
7.4.70.0000.01916.37
7.4.60.0090.00916.38
7.4.50.0110.00416.44
7.4.40.0120.00916.41
7.4.00.0070.01014.85
7.3.330.0000.00716.14
7.3.320.0050.00013.08
7.3.310.0070.00016.35
7.3.300.0060.00016.28
7.3.290.0000.00616.23
7.3.280.0100.00316.43
7.3.260.0110.00916.34
7.3.240.0130.00816.40
7.3.230.0170.00616.46
7.3.210.0030.01316.43
7.3.200.0120.00916.45
7.3.190.0120.00616.31
7.3.180.0100.00616.28
7.3.170.0090.01016.48
7.3.160.0160.00016.31
7.3.120.0050.00914.94
7.3.110.0030.01214.73
7.3.100.0050.01114.78
7.3.90.0050.01014.58
7.3.80.0050.01014.74
7.3.70.0050.00814.76
7.3.60.0090.00614.73
7.3.50.0100.00414.74
7.3.40.0040.01114.75
7.3.30.0070.00914.76
7.3.20.0070.00816.00
7.3.10.0040.01015.93
7.3.00.0100.00416.03
7.2.330.0100.00716.67
7.2.320.0030.01316.63
7.2.310.0140.00716.75
7.2.300.0150.00316.45
7.2.290.0120.00416.38
7.2.250.0090.00915.08
7.2.240.0080.01014.77
7.2.230.0050.01115.14
7.2.220.0060.00715.09
7.2.210.0100.00515.09
7.2.200.0080.00815.03
7.2.190.0050.01014.91
7.2.180.0090.00815.04
7.2.170.0070.01115.08
7.2.160.0090.00615.00
7.2.150.0170.00714.97
7.2.140.0140.00315.13
7.2.130.0100.00715.19
7.2.120.0090.00914.95
7.2.110.0150.00315.10
7.2.100.0030.01314.98
7.2.90.0140.00315.17
7.2.80.0080.00915.31
7.2.70.0030.01715.16
7.2.60.0110.00715.11
7.2.50.0170.00015.07
7.2.40.0070.01115.23
7.2.30.0030.01515.11
7.2.20.0160.00715.05
7.2.10.0170.01415.05
7.2.00.0120.01214.80
7.1.330.0080.00615.72
7.1.320.0060.00615.15
7.1.310.0060.00615.33
7.1.300.0050.00715.13
7.1.290.0080.01015.21
7.1.280.0060.00915.21
7.1.270.0060.00915.09
7.1.260.0100.00515.12
7.1.250.0070.01014.01

preferences:
21.53 ms | 401 KiB | 5 Q