3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $some_string = "ннннн ннннн"; $arra_c = array( '1' ); foreach($arra_c as $k => $v){ var_dump(iconv("UTF-8", "ISO-8859-1//TRANSLIT", $text)), PHP_EOL; } var_dump(mb_detect_encoding($some_string)); var_dump(strlen(json_encode(array('message' => $some_string))));
Output for 5.3.0 - 5.5.9
Parse error: syntax error, unexpected ',' in /in/r7B2H on line 11
Process exited with code 255.