3v4l.org

run code in 300+ PHP versions simultaneously
<?php $sir_title1 = array("ă", "Ă", "î", "Î", "ş", "ș", "Ş", "ţ", "Ţ", "â", "Â", "„", "“", " ", ",", ".", "”", "«", "»", "–", "?"); $sir_title2 = array("a", "A", "i", "I", "s", "s", "S", "t", "T", "a", "A", "", "", "-", "-", "-", "", "", "", "-", ""); $string = "Francezul care a făcut aproape 9 miliarde într-un an la Botoșani, a ciocănit într-un hotel la porțile raiului – VIDEO & GALERIE FOTO"; //print (str_replace($sir_title1, $sir_title2, $string)); toAscii(iconv('UTF-8', 'ASCII//TRANSLIT', $string););

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.0030.05318.28
5.6.140.0170.06018.25
5.6.130.0100.07718.11
5.6.120.0200.03721.12
5.6.110.0170.07320.95
5.6.100.0100.04021.04
5.6.90.0000.08321.13
5.6.80.0070.03720.38
5.5.300.0100.04018.09
5.5.290.0070.08317.99
5.5.280.0100.08320.69
5.5.270.0070.07320.73
5.5.260.0030.07320.76
5.5.250.0070.08720.70
5.5.240.3930.04320.29

preferences:
137.79 ms | 1394 KiB | 7 Q