3v4l.org

run code in 300+ PHP versions simultaneously
<?php $some_string = "ннннн ннннн"; $arra_c = array( '1' ); foreach($arra_c as $k => $v){ var_dump(iconv("UTF-8", "ISO-8859-1//TRANSLIT", $text)); } var_dump(mb_detect_encoding($some_string)); var_dump(strlen(json_encode(array('message' => $some_string))));
Output for git.master, git.master_jit, rfc.property-hooks
Warning: Undefined variable $text in /in/IHFYi on line 11 Deprecated: iconv(): Passing null to parameter #3 ($string) of type string is deprecated in /in/IHFYi on line 11 Warning: iconv(): Wrong encoding, conversion from "UTF-8" to "ISO-8859-1//TRANSLIT" is not allowed in /in/IHFYi on line 11 bool(false) string(5) "UTF-8" int(75)

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
39.05 ms | 402 KiB | 8 Q