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.70.0070.00716.63
8.3.60.0120.00316.63
8.3.50.0130.00522.05
8.3.40.0080.00818.58
8.3.30.0120.00318.68
8.3.20.0040.00420.21
8.3.10.0000.00823.48
8.3.00.0030.00619.13
8.2.180.0110.01118.54
8.2.170.0100.00722.96
8.2.160.0000.01320.40
8.2.150.0050.00324.18
8.2.140.0090.00024.66
8.2.130.0040.00426.16
8.2.120.0070.00026.16
8.2.110.0080.00422.30
8.2.100.0090.00317.80
8.2.90.0000.00819.05
8.2.80.0040.00417.97
8.2.70.0050.00317.59
8.2.60.0050.00317.80
8.2.50.0060.00318.07
8.2.40.0030.00619.21
8.2.30.0000.00720.50
8.2.20.0070.00017.70
8.2.10.0040.00418.09
8.2.00.0040.00418.15
8.1.280.0070.00725.92
8.1.270.0070.00023.99
8.1.260.0070.00026.35
8.1.250.0030.00528.09
8.1.240.0030.00622.48
8.1.230.0060.00617.53
8.1.220.0040.00417.77
8.1.210.0040.00418.77
8.1.200.0100.00017.35
8.1.190.0040.00417.23
8.1.180.0040.00418.10
8.1.170.0000.00918.47
8.1.160.0040.00422.03
8.1.150.0030.00518.89
8.1.140.0040.00419.58
8.1.130.0040.00417.58
8.1.120.0040.00417.30
8.1.110.0000.00717.51
8.1.100.0050.00217.32
8.1.90.0030.00517.50
8.1.80.0030.00617.41
8.1.70.0000.00717.33
8.1.60.0040.00417.50
8.1.50.0070.00017.44
8.1.40.0000.00717.48
8.1.30.0030.00517.56
8.1.20.0000.00817.54
8.1.10.0000.00717.58
8.1.00.0030.00517.42
8.0.300.0060.00318.77
8.0.290.0000.00716.75
8.0.280.0030.00418.41
8.0.270.0030.00317.13
8.0.260.0000.00817.24
8.0.250.0000.00717.07
8.0.240.0030.00316.89
8.0.230.0000.00716.91
8.0.220.0000.00716.95
8.0.210.0000.00716.96
8.0.200.0000.00617.06
8.0.190.0030.00517.04
8.0.180.0040.00416.89
8.0.170.0040.00416.94
8.0.160.0050.00216.94
8.0.150.0000.00816.99
8.0.140.0120.00016.80
8.0.130.0000.00613.36
8.0.120.0000.00816.88
8.0.110.0040.00416.98
8.0.100.0040.00416.93
8.0.90.0040.00416.81
8.0.80.0060.00917.00
8.0.70.0040.00417.02
8.0.60.0040.00416.89
8.0.50.0050.00316.92
8.0.30.0080.01217.10
8.0.20.0100.01017.40
8.0.10.0040.00417.11
8.0.00.0070.01116.78
7.4.330.0030.00315.08
7.4.320.0060.00016.66
7.4.300.0030.00316.47
7.4.290.0040.00416.61
7.4.280.0050.00316.62
7.4.270.0090.00216.67
7.4.260.0000.00716.64
7.4.250.0070.00016.49
7.4.240.0030.00516.52
7.4.230.0070.00016.50
7.4.220.0030.01316.64
7.4.210.0100.00816.55
7.4.200.0000.00716.64
7.4.160.0160.00016.52
7.4.150.0130.00517.40
7.4.140.0120.00717.86
7.4.130.0070.00916.61
7.4.120.0060.01316.48
7.4.110.0070.01016.43
7.4.100.0050.01116.38
7.4.90.0150.00516.52
7.4.80.0100.00719.39
7.4.70.0030.01316.61
7.4.60.0110.00616.64
7.4.50.0000.00816.48
7.4.40.0030.01316.61
7.4.30.0100.00716.62
7.4.10.0070.01316.41
7.4.00.0060.00815.89
7.3.330.0000.00713.19
7.3.320.0000.00513.18
7.3.310.0070.00016.36
7.3.300.0060.00316.32
7.3.290.0120.00316.29
7.3.280.0070.01316.31
7.3.270.0100.00717.40
7.3.260.0140.01516.33
7.3.250.0100.00816.48
7.3.240.0080.01016.39
7.3.230.0100.00616.39
7.3.210.0150.00416.52
7.3.200.0060.01116.47
7.3.190.0120.00416.27
7.3.180.0150.00316.50
7.3.170.0070.01416.38
7.3.160.0070.01416.52
7.3.130.0070.01016.24
7.3.120.0050.01216.36
7.3.110.0000.01716.27
7.3.100.0030.01316.20
7.3.90.0150.00616.39
7.3.80.0090.00616.51
7.3.70.0070.00716.32
7.3.60.0130.00316.38
7.3.50.0110.00416.45
7.3.40.0120.00016.36
7.3.30.0110.00416.34
7.3.20.0030.01318.13
7.3.10.0140.00217.49
7.3.00.0090.00717.30
7.2.330.0070.01016.56
7.2.320.0140.00316.43
7.2.310.0030.01316.72
7.2.300.0040.01316.75
7.2.290.0070.01116.67
7.2.260.0070.01316.68
7.2.250.0130.01016.67
7.2.240.0070.01016.37
7.2.230.0100.01016.30
7.2.220.0090.00916.67
7.2.210.0110.00716.70
7.2.200.0070.01016.57
7.2.190.0070.00716.53
7.2.180.0030.01016.45
7.2.170.0130.00316.51
7.2.160.0070.01016.34
7.2.150.0030.01018.21
7.2.140.0030.01318.46
7.2.130.0050.00617.70
7.2.120.0110.00517.63
7.2.110.0110.00717.73
7.2.100.0020.01217.44
7.2.90.0050.01117.56
7.2.80.0030.01017.64
7.2.70.0070.00617.78
7.2.60.0050.01117.47
7.2.50.0090.00617.75
7.2.40.0060.00817.53
7.2.30.0090.00717.79
7.2.20.0040.00717.45
7.2.10.0080.00517.35
7.2.00.0050.00718.25
7.1.330.0100.00717.52
7.1.320.0060.00917.15
7.1.310.0030.00917.69
7.1.300.0070.00717.51
7.1.290.0030.00917.41
7.1.280.0000.01017.30
7.1.270.0100.00317.33
7.1.260.0090.00617.43
7.1.250.0050.00616.55
7.1.240.0060.00917.35
7.1.230.0130.00617.23
7.1.220.0070.00717.28
7.1.210.0000.01017.12
7.1.200.0030.01016.49
7.1.190.0040.01117.40
7.1.180.0000.01517.37
7.1.170.0070.01017.44
7.1.160.0040.00817.25
7.1.150.0030.01017.26
7.1.140.0120.00317.42
7.1.130.0000.00917.31
7.1.120.0140.00016.92
7.1.110.0090.00617.32
7.1.100.0040.00917.63
7.1.90.0040.01117.30
7.1.80.0030.00617.27
7.1.70.0050.00517.07
7.1.60.0080.01018.45
7.1.50.0070.01217.02
7.1.40.0060.00917.51
7.1.30.0090.00917.11
7.1.20.0030.01317.11
7.1.10.0070.00717.16
7.1.00.0000.04519.96
7.0.330.0030.01016.79
7.0.320.0040.00716.90
7.0.310.0070.00316.96
7.0.300.0070.00716.87
7.0.290.0120.00316.98
7.0.280.0070.00717.16
7.0.270.0000.00816.84
7.0.260.0030.00917.10
7.0.250.0000.00917.08
7.0.240.0000.01417.04
7.0.230.0070.00717.21
7.0.220.0060.00617.08
7.0.210.0060.00916.82
7.0.200.0150.00515.90
7.0.190.0130.00316.96
7.0.180.0100.00716.90
7.0.170.0070.01116.92
7.0.160.0070.00717.08
7.0.150.0030.01217.05
7.0.140.0060.01017.06
7.0.130.0060.00916.84
7.0.120.0040.00817.08
7.0.110.0110.00417.03
7.0.100.0060.01017.02
7.0.90.0070.01116.82
7.0.80.0070.00317.14
7.0.70.0030.00917.09
7.0.60.0030.02518.49
7.0.50.0080.03817.52
7.0.40.0050.02717.54
7.0.30.0210.04117.59
7.0.20.0170.04517.51
7.0.10.0100.02717.50
7.0.00.0050.02517.64
5.6.400.0060.00815.81
5.6.390.0000.01515.57
5.6.380.0060.00915.94
5.6.370.0030.01315.89
5.6.360.0070.00715.59
5.6.350.0100.00315.57
5.6.340.0040.00816.26
5.6.330.0060.00915.89
5.6.320.0060.00915.84
5.6.310.0000.01115.91
5.6.300.0060.00915.79
5.6.290.0140.00315.71
5.6.280.0100.00015.65
5.6.270.0090.00915.91
5.6.260.0000.01315.86
5.6.250.0000.01416.00
5.6.240.0100.00315.85
5.6.230.0060.00915.85
5.6.220.0090.00615.74
5.6.210.0050.03718.37
5.6.200.0050.02717.00
5.6.190.0060.02518.31
5.6.180.0120.02218.11
5.6.170.0200.02518.28
5.6.160.0110.04218.08
5.6.150.0130.04016.83
5.6.140.0030.04716.94
5.6.130.0100.03517.04
5.6.120.0070.03718.41
5.6.110.0070.03318.39
5.6.100.0080.04318.56
5.6.90.0060.02318.37
5.6.80.0110.04018.05
5.6.70.0030.00915.64
5.6.60.0070.00715.59
5.6.50.0040.00915.74
5.6.40.0070.01015.56
5.6.30.0060.00616.00
5.6.20.0030.01215.68
5.6.10.0030.01315.66
5.6.00.0060.00915.65
5.5.380.0100.00315.68
5.5.370.0060.00615.80
5.5.360.0000.01215.61
5.5.350.1680.03517.97
5.5.340.0000.03616.90
5.5.330.0070.05018.08
5.5.320.0150.02817.94
5.5.310.0140.03917.90
5.5.300.0050.03816.79
5.5.290.0100.03616.79
5.5.280.0080.02818.34
5.5.270.0070.04218.13
5.5.260.0060.02418.11
5.5.250.0090.04418.19
5.5.240.0230.03317.91
5.5.230.0100.00715.63
5.5.220.0060.00315.58
5.5.210.0070.01015.59
5.5.200.0000.00915.62
5.5.190.0000.01315.71
5.5.180.0030.00715.64
5.5.170.0030.01315.71
5.5.160.0040.00715.47
5.5.150.0090.00315.69
5.5.140.0060.00615.51
5.5.130.0060.00615.69
5.5.120.0080.00415.36
5.5.110.0100.00315.71
5.5.100.0060.00615.68
5.5.90.0040.00815.46
5.5.80.0040.01215.53
5.5.70.0040.01415.48
5.5.60.0030.01315.84
5.5.50.0000.01115.46
5.5.40.0030.00615.62
5.5.30.0070.00715.44
5.5.20.0090.00615.82
5.5.10.0110.00415.68
5.5.00.0040.01115.74

preferences:
47.28 ms | 401 KiB | 5 Q