3v4l.org

run code in 300+ PHP versions simultaneously
<?php $input = trim("0x030"); if( str_split($input) == array(0,0,0,0) || strcmp($input, "0000") == 0 || strcmp($input, "000") == 0 || strcmp($input, "00") == 0 || strcmp($input, "0") == 0 || $input === 0 || preg_match("/^[\d]{1,}$/D", $input) )print("FAIL"); if($input == "0000") print("SUCCESS"); print(iconv($input)); ?>
Output for git.master, git.master_jit, rfc.property-hooks
Fatal error: Uncaught ArgumentCountError: iconv() expects exactly 3 arguments, 1 given in /in/KKVUo:15 Stack trace: #0 /in/KKVUo(15): iconv('0x030') #1 {main} thrown in /in/KKVUo on line 15
Process exited with code 255.

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:
54.06 ms | 401 KiB | 8 Q