3v4l.org

run code in 300+ PHP versions simultaneously
<?php class thisClass { public $files = array('a č o.png','a č o.png','a č o.png'); } $this = new thisClass; define('URL', '127.0.0.1/'); foreach($this->$files as $key => $value){ echo '<a href="' . URL . 'file/show/' . rawurlencode($this->$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/' . $this->$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)
5.6.150.0130.08018.15
5.6.140.0100.07718.23
5.6.130.0100.08318.16
5.6.120.0030.05021.14
5.6.110.0030.06020.98
5.6.100.0100.08021.04
5.6.90.0030.04020.97
5.6.80.0100.06020.48
5.5.300.0030.04718.07
5.5.290.0000.07318.04
5.5.280.0170.07320.77
5.5.270.0200.05020.96
5.5.260.0000.04320.77
5.5.250.0070.07320.58
5.5.240.0230.06020.28

preferences:
139.83 ms | 1394 KiB | 7 Q