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 $address = rawurlencode($filename); 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.0090.00616.63
8.3.50.0120.00521.92
8.3.40.0100.00718.69
8.3.30.0090.00618.72
8.3.20.0050.00320.35
8.3.10.0040.00423.48
8.3.00.0080.00019.13
8.2.180.0100.01018.38
8.2.170.0130.00722.96
8.2.160.0100.00320.38
8.2.150.0050.00324.18
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0080.00026.16
8.2.110.0040.00722.08
8.2.100.0040.00817.80
8.2.90.0050.00319.17
8.2.80.0000.00817.97
8.2.70.0090.00017.50
8.2.60.0000.00817.92
8.2.50.0030.00518.07
8.2.40.0060.00619.29
8.2.30.0040.00420.50
8.2.20.0000.00717.63
8.2.10.0040.00418.09
8.2.00.0040.00417.97
8.1.280.0130.00725.92
8.1.270.0090.00021.91
8.1.260.0000.00826.35
8.1.250.0040.00428.09
8.1.240.0100.00022.48
8.1.230.0110.00017.66
8.1.220.0080.00017.74
8.1.210.0000.00818.77
8.1.200.0060.00317.25
8.1.190.0080.00017.10
8.1.180.0000.00718.10
8.1.170.0060.00318.50
8.1.160.0070.00022.05
8.1.150.0050.00218.77
8.1.140.0040.00419.63
8.1.130.0030.00317.58
8.1.120.0000.00717.37
8.1.110.0000.00717.36
8.1.100.0000.00817.37
8.1.90.0020.00517.32
8.1.80.0080.00017.41
8.1.70.0000.00817.41
8.1.60.0040.00417.57
8.1.50.0040.00417.43
8.1.40.0040.00417.56
8.1.30.0000.00917.65
8.1.20.0070.00017.59
8.1.10.0000.00717.54
8.1.00.0000.00717.45
8.0.300.0000.00818.77
8.0.290.0040.00416.75
8.0.280.0030.00318.44
8.0.270.0030.00317.26
8.0.260.0060.00017.25
8.0.250.0000.00717.03
8.0.240.0040.00417.04
8.0.230.0000.00717.00
8.0.220.0030.00316.84
8.0.210.0070.00016.87
8.0.200.0030.00317.08
8.0.190.0040.00416.92
8.0.180.0000.00716.98
8.0.170.0000.00716.99
8.0.160.0000.00717.02
8.0.150.0000.00816.89
8.0.140.0050.00516.88
8.0.130.0000.00713.43
8.0.120.0050.00316.91
8.0.110.0030.00316.86
8.0.100.0040.00416.87
8.0.90.0000.00716.84
8.0.80.0130.00716.99
8.0.70.0000.00716.98
8.0.60.0040.00416.85
8.0.50.0000.00716.95
8.0.30.0070.01117.09
8.0.20.0150.00617.40
8.0.10.0020.00516.89
8.0.00.0060.01116.83
7.4.330.0030.00315.11
7.4.320.0070.00016.54
7.4.300.0030.00316.68
7.4.290.0030.00316.54
7.4.280.0070.00016.63
7.4.270.0050.00316.49
7.4.260.0030.00616.49
7.4.250.0050.00316.42
7.4.240.0060.00216.61
7.4.230.0080.00016.52
7.4.220.0130.00316.55
7.4.210.0080.00716.57
7.4.200.0080.00016.64
7.4.160.0090.00616.36
7.4.150.0130.00517.40
7.4.140.0040.01617.86
7.4.130.0080.00916.54
7.4.120.0120.00616.60
7.4.110.0060.01016.64
7.4.100.0150.00916.29
7.4.90.0130.00316.61
7.4.80.0130.00419.39
7.4.70.0080.00816.40
7.4.60.0070.01416.67
7.4.50.0050.00316.50
7.4.40.0080.00816.52
7.4.30.0080.00816.48
7.4.00.0070.01015.11
7.3.330.0000.00713.28
7.3.320.0050.00013.27
7.3.310.0000.00716.30
7.3.300.0040.00416.28
7.3.290.0070.00016.20
7.3.280.0120.00616.33
7.3.270.0080.00817.40
7.3.260.0070.01016.40
7.3.250.0090.01216.50
7.3.240.0050.01216.26
7.3.230.0130.00716.51
7.3.210.0070.01416.39
7.3.200.0090.00816.25
7.3.190.0030.01316.35
7.3.180.0070.01016.30
7.3.170.0120.01216.38
7.3.160.0060.01016.59
7.2.330.0120.00916.63
7.2.320.0120.00616.52
7.2.310.0060.01016.48
7.2.300.0040.01716.47
7.2.290.0120.00616.54
7.2.60.0000.01116.76
7.2.00.0060.00619.32
7.1.200.0060.00615.80
7.1.100.0090.00318.25
7.1.70.0060.00317.08
7.1.60.0100.01319.48
7.1.50.0030.02116.71
7.1.00.0000.08022.35
7.0.200.0220.00014.60
7.0.60.0100.03719.97
7.0.50.0030.07017.86
7.0.40.0100.03720.30
7.0.30.0270.07720.24
7.0.20.0270.07720.23
7.0.10.0070.06320.25
7.0.00.0100.03720.24
5.6.280.0070.04021.13
5.6.210.0070.08020.71
5.6.200.0070.07018.24
5.6.190.0000.04720.49
5.6.180.0070.05020.50
5.6.170.0200.05320.58
5.6.160.0130.07720.50
5.6.150.0070.08718.29
5.6.140.0030.07318.18
5.6.130.0100.06718.22
5.6.120.0030.04320.90
5.6.110.0000.08720.98
5.6.100.0070.08720.96
5.6.90.0070.03721.10
5.6.80.0030.06720.41
5.5.350.3770.03320.36
5.5.340.0000.08317.96
5.5.330.0100.06320.27
5.5.320.0370.03320.41
5.5.310.0270.08020.26
5.5.300.0030.08717.91
5.5.290.0130.06018.08
5.5.280.0130.04320.66
5.5.270.0170.07320.77
5.5.260.0030.04020.79
5.5.250.0030.07020.50
5.5.240.0170.07020.37

preferences:
53.73 ms | 401 KiB | 5 Q