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.40.0150.00018.79
8.3.30.0070.00718.78
8.3.20.0090.00020.34
8.3.10.0040.00423.48
8.3.00.0050.00319.26
8.2.170.0130.00722.96
8.2.160.0080.00620.34
8.2.150.0000.00824.18
8.2.140.0080.00024.66
8.2.130.0000.01217.38
8.2.120.0040.00426.35
8.2.110.0060.00320.53
8.2.100.0080.00418.05
8.2.90.0030.00619.17
8.2.80.0030.00617.97
8.2.70.0090.00017.75
8.2.60.0040.00418.03
8.2.50.0030.00618.07
8.2.40.0050.00519.38
8.2.30.0020.00520.71
8.2.20.0000.00817.83
8.2.10.0000.00818.14
8.2.00.0000.00718.14
8.1.270.0000.00823.99
8.1.260.0100.00328.09
8.1.250.0080.00028.09
8.1.240.0110.00020.68
8.1.230.0080.00417.79
8.1.220.0050.00317.77
8.1.210.0040.00418.77
8.1.200.0000.00917.23
8.1.190.0000.00817.10
8.1.180.0040.00418.10
8.1.170.0070.00318.61
8.1.160.0000.00722.07
8.1.150.0000.00718.95
8.1.140.0030.00619.64
8.1.130.0000.00717.77
8.1.120.0040.00417.48
8.1.110.0040.00417.49
8.1.100.0000.00717.43
8.1.90.0040.00417.46
8.1.80.0080.00317.45
8.1.70.0080.00017.47
8.1.60.0080.00017.61
8.1.50.0030.00517.56
8.1.40.0040.00417.43
8.1.30.0000.00817.55
8.1.20.0090.00017.73
8.1.10.0000.00817.64
8.1.00.0040.00417.49
8.0.300.0020.00518.77
8.0.290.0040.00416.63
8.0.280.0030.00318.38
8.0.270.0070.00017.20
8.0.260.0080.00017.26
8.0.250.0040.00417.05
8.0.240.0040.00417.08
8.0.230.0030.00516.94
8.0.220.0000.00716.98
8.0.210.0070.00016.95
8.0.200.0050.00317.07
8.0.190.0040.00416.90
8.0.180.0070.00016.90
8.0.170.0040.00416.88
8.0.160.0050.00316.93
8.0.150.0080.00016.93
8.0.140.0000.00916.79
8.0.130.0000.00813.39
8.0.120.0000.00816.98
8.0.110.0000.00716.91
8.0.100.0040.00417.08
8.0.90.0030.00517.06
8.0.80.0060.00917.00
8.0.70.0030.00416.86
8.0.60.0000.00716.83
8.0.50.0040.00416.95
8.0.30.0050.01317.11
8.0.20.0130.00517.40
8.0.10.0040.00417.11
8.0.00.0060.01216.66
7.4.330.0000.00515.08
7.4.320.0000.00616.61
7.4.300.0000.00616.53
7.4.290.0000.00816.61
7.4.280.0080.00016.66
7.4.270.0040.00416.45
7.4.260.0060.00316.61
7.4.250.0000.00716.41
7.4.240.0030.00416.54
7.4.230.0000.00716.51
7.4.220.0190.00016.71
7.4.210.0100.00916.59
7.4.200.0070.00016.36
7.4.160.0120.00416.50
7.4.150.0140.00617.40
7.4.140.0160.00717.86
7.4.130.0070.01016.39
7.4.120.0090.01116.57
7.4.110.0160.00716.53
7.4.100.0170.00716.53
7.4.90.0060.01016.41
7.4.80.0060.01519.39
7.4.70.0070.01416.75
7.4.60.0080.00816.64
7.4.50.0000.00816.58
7.4.40.0080.00916.55
7.4.30.0140.00716.55
7.4.00.0070.00814.85
7.3.330.0000.00513.26
7.3.320.0030.00313.46
7.3.310.0030.00316.21
7.3.300.0030.00316.39
7.3.290.0080.00016.38
7.3.280.0100.00816.34
7.3.270.0100.00717.40
7.3.260.0060.01316.33
7.3.250.0130.00716.42
7.3.240.0080.00816.42
7.3.230.0030.01316.39
7.3.210.0130.00316.41
7.3.200.0130.00316.39
7.3.190.0070.01116.71
7.3.180.0030.01316.35
7.3.170.0120.00616.38
7.3.160.0080.00816.38
7.3.120.0080.00814.93
7.3.110.0120.00614.83
7.3.100.0030.01014.82
7.3.90.0060.00914.82
7.3.80.0060.00614.90
7.3.70.0030.00714.71
7.3.60.0000.00814.78
7.3.50.0030.00614.96
7.3.40.0030.00714.59
7.3.30.0110.00014.64
7.3.20.0000.01116.75
7.3.10.0060.00616.81
7.3.00.0090.00616.65
7.2.330.0120.01316.79
7.2.320.0120.00616.81
7.2.310.0030.01316.56
7.2.300.0110.00516.78
7.2.290.0080.01116.92
7.2.250.0100.01015.25
7.2.240.0060.01515.23
7.2.230.0060.01014.81
7.2.220.0050.00515.09
7.2.210.0070.00715.14
7.2.200.0000.00915.15
7.2.190.0040.01115.14
7.2.180.0000.01214.96
7.2.170.0060.00915.16
7.2.60.0040.00816.66
7.2.00.0030.00919.56
7.1.330.0000.01715.59
7.1.320.0060.00915.83
7.1.310.0080.00415.74
7.1.300.0100.00315.37
7.1.290.0060.00615.77
7.1.280.0030.01215.85
7.1.270.0030.00715.61
7.1.260.0060.00615.64
7.1.200.0030.00915.92
7.1.100.0000.01518.19
7.1.70.0050.00217.04
7.1.60.0130.01019.48
7.1.50.0100.01416.58
7.1.00.0030.07722.54
7.0.200.0270.00414.49
7.0.60.0000.04319.94
7.0.50.0170.07717.89
7.0.40.0030.04720.18
7.0.30.0300.04720.24
7.0.20.0230.07020.31
7.0.10.0070.04320.08
7.0.00.0030.05020.25
5.6.280.0070.06320.89
5.6.210.0100.04720.62
5.6.200.0070.08318.22
5.6.190.0030.09320.39
5.6.180.0200.08020.41
5.6.170.0300.07320.40
5.6.160.0070.04720.54
5.6.150.0100.08018.18
5.6.140.0130.07318.21
5.6.130.0000.07018.11
5.6.120.0030.04321.04
5.6.110.0230.06721.02
5.6.100.0230.05721.08
5.6.90.0030.04320.84
5.6.80.0100.07720.54
5.5.350.3370.03720.29
5.5.340.0070.04318.03
5.5.330.0070.05320.08
5.5.320.0300.07720.27
5.5.310.0270.03720.21
5.5.300.0130.05018.03
5.5.290.0000.08017.95
5.5.280.0070.08020.91
5.5.270.0030.05020.82
5.5.260.0070.03720.68
5.5.250.0070.06320.69
5.5.240.0370.06020.27

preferences:
46.69 ms | 400 KiB | 5 Q