3v4l.org

run code in 300+ PHP versions simultaneously
<?php class thisClass { public $files = array('a č o.png','a č o.png','a č o.png'); } $foo = new thisClass(); define('URL', '127.0.0.1/'); foreach($foo->files as $key => $value){ echo '<a href="' . URL . 'file/show/' . rawurlencode($foo->files[$key]) . '" target="_blank"> Show file </a>' . "\n"; //gives link leading to: 127.0.0.1/file%2Fshow%2Fa č o.png echo '<a href="' . URL . 'file/show/' . $foo->files[$key] . '" target="_blank"> Show file </a>'; //gives link leading to: 127.0.0.1/file/show/a č o.png } ?>

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.0140.00416.38
8.3.50.0110.00721.92
8.3.40.0070.00718.73
8.3.30.0110.00418.75
8.3.20.0000.00920.13
8.3.10.0080.00023.29
8.3.00.0080.00019.25
8.2.180.0110.01118.55
8.2.170.0070.01322.96
8.2.160.0070.00720.35
8.2.150.0050.00324.18
8.2.140.0060.00324.66
8.2.130.0000.00726.16
8.2.120.0150.00019.71
8.2.110.0100.00022.12
8.2.100.0120.00017.93
8.2.90.0040.00419.17
8.2.80.0000.00817.97
8.2.70.0060.00317.63
8.2.60.0040.00417.80
8.2.50.0030.00618.07
8.2.40.0070.00419.18
8.2.30.0000.00720.68
8.2.20.0080.00017.74
8.2.10.0000.00718.00
8.2.00.0040.00418.00
8.1.280.0040.01125.92
8.1.270.0000.00822.19
8.1.260.0070.00026.35
8.1.250.0040.00428.09
8.1.240.0030.00622.52
8.1.230.0040.00819.54
8.1.220.0000.00817.79
8.1.210.0050.00518.77
8.1.200.0060.00317.25
8.1.190.0000.00917.23
8.1.180.0040.00418.10
8.1.170.0030.00520.42
8.1.160.0040.00422.01
8.1.150.0050.00318.89
8.1.140.0000.00819.50
8.1.130.0000.00717.70
8.1.120.0030.00517.38
8.1.110.0000.00817.45
8.1.100.0000.00817.45
8.1.90.0030.00417.41
8.1.80.0030.00617.47
8.1.70.0070.00017.48
8.1.60.0050.00317.57
8.1.50.0000.00817.53
8.1.40.0040.00417.50
8.1.30.0000.00817.55
8.1.20.0030.00517.67
8.1.10.0040.00417.62
8.1.00.0040.00417.35
8.0.300.0000.00718.77
8.0.290.0000.00716.75
8.0.280.0040.00418.49
8.0.270.0070.00017.18
8.0.260.0030.00317.14
8.0.250.0000.00716.89
8.0.240.0030.00316.96
8.0.230.0030.00316.97
8.0.220.0070.00016.87
8.0.210.0030.00316.87
8.0.200.0030.00316.84
8.0.190.0050.00316.86
8.0.180.0000.00716.98
8.0.170.0040.00416.94
8.0.160.0000.00716.87
8.0.150.0000.00716.91
8.0.140.0030.00816.67
8.0.130.0000.00513.28
8.0.120.0000.00816.87
8.0.110.0050.00216.94
8.0.100.0000.00716.77
8.0.90.0040.00416.85
8.0.80.0040.01416.84
8.0.70.0030.00416.84
8.0.60.0040.00416.95
8.0.50.0060.00316.80
8.0.30.0070.01216.97
8.0.20.0110.01017.40
8.0.10.0080.00017.08
8.0.00.0060.01216.91
7.4.330.0030.00315.16
7.4.320.0060.00016.43
7.4.300.0040.00416.61
7.4.290.0070.00016.51
7.4.280.0070.00016.51
7.4.270.0070.00316.46
7.4.260.0080.00016.54
7.4.250.0040.00416.48
7.4.240.0010.00616.58
7.4.230.0040.00416.57
7.4.220.0090.00916.45
7.4.210.0080.00816.55
7.4.200.0080.00016.39
7.4.160.0090.00616.37
7.4.150.0130.00617.40
7.4.140.0160.00617.86
7.4.130.0040.01416.47
7.4.120.0130.00616.62
7.4.110.0070.01116.48
7.4.100.0070.01016.47
7.4.90.0080.00816.45
7.4.80.0100.00719.39
7.4.70.0160.00516.51
7.4.60.0090.00616.58
7.4.50.0080.00016.38
7.4.40.0140.00916.69
7.4.30.0100.00716.38
7.4.00.0070.00914.88
7.3.330.0030.00513.30
7.3.320.0000.00513.23
7.3.310.0040.00416.21
7.3.300.0000.00816.15
7.3.290.0030.00316.12
7.3.280.0110.00616.27
7.3.270.0090.01017.40
7.3.260.0060.01116.48
7.3.250.0160.00316.37
7.3.240.0130.00516.42
7.3.230.0060.00916.39
7.3.210.0070.01116.52
7.3.200.0030.01416.44
7.3.190.0120.00616.44
7.3.180.0070.01016.28
7.3.170.0120.00916.32
7.3.160.0160.00316.31
7.3.120.0000.01514.75
7.3.110.0070.01114.75
7.3.100.0040.01114.63
7.3.90.0070.00314.85
7.3.80.0040.01114.54
7.3.70.0070.01014.47
7.3.60.0060.00614.75
7.3.50.0130.00314.91
7.3.40.0130.00314.72
7.3.30.0100.00314.59
7.3.20.0040.00816.40
7.3.10.0070.00716.42
7.3.00.0070.00316.46
7.2.330.0000.01816.60
7.2.320.0090.01116.81
7.2.310.0040.01316.86
7.2.300.0120.00316.49
7.2.290.0130.00616.75
7.2.250.0090.00915.18
7.2.240.0100.01015.25
7.2.230.0120.00614.65
7.2.220.0040.00414.98
7.2.210.0060.00614.91
7.2.200.0060.01215.00
7.2.190.0090.00615.15
7.2.180.0120.00615.33
7.2.170.0030.00615.09
7.2.60.0030.00916.99
7.2.00.0000.01119.41
7.1.330.0040.01115.67
7.1.320.0030.00915.80
7.1.310.0060.00915.71
7.1.300.0040.01115.46
7.1.290.0040.01115.91
7.1.280.0040.00815.47
7.1.270.0030.01015.50
7.1.260.0100.00315.59
7.1.200.0040.01115.61
7.1.100.0110.00018.15
7.1.70.0050.00217.05
7.1.60.0070.01819.48
7.1.50.0130.01016.67
7.1.00.0070.07322.47
7.0.200.0310.00714.57
7.0.60.0070.03719.96
7.0.50.0100.07717.97
7.0.40.0030.04720.11
7.0.30.0330.07320.24
7.0.20.0370.05720.09
7.0.10.0070.04320.23
7.0.00.0030.04320.22
5.6.280.0030.03321.08
5.6.210.0100.07720.70
5.6.200.0130.08018.19
5.6.190.0070.04020.77
5.6.180.0070.05020.63
5.6.170.0330.07720.54
5.6.160.0030.04320.49
5.6.150.0100.07018.28
5.6.140.0100.07718.15
5.6.130.0070.04718.27
5.6.120.0100.03720.99
5.6.110.0070.04021.01
5.6.100.0030.08721.02
5.6.90.0000.04321.00
5.6.80.0100.07720.40
5.5.350.4000.04020.41
5.5.340.0000.05317.94
5.5.330.0030.04720.30
5.5.320.0400.06320.51
5.5.310.0400.05020.27
5.5.300.0070.08017.98
5.5.290.0030.04717.95
5.5.280.0030.05720.96
5.5.270.0070.04020.87
5.5.260.0100.03320.97
5.5.250.0100.08020.65
5.5.240.0300.07020.27

preferences:
55.87 ms | 401 KiB | 5 Q