3v4l.org

run code in 300+ PHP versions simultaneously
<?php foreach($_POST['language'] as $value) { echo 'Checked: '.$value.' '; } ?> <html> <head> <head/> <title> <title/> <body> <form action="" method="post"> <input type="checkbox" name="language[]" value="php" />PHP<br /> <input type="checkbox" name="language[]" value="html" />HTML<br /> <input type="checkbox" name="language[]" value="java" />Java<br /> <input type="checkbox" name="language[]" value="c++" />C++<br /> <input type="submit" value="send" /> </form> <body/> <html/>
Output for git.master, git.master_jit, rfc.property-hooks
Warning: Undefined array key "language" in /in/bNnKh on line 2 Warning: foreach() argument must be of type array|object, null given in /in/bNnKh on line 2 <html> <head> <head/> <title> <title/> <body> <form action="" method="post"> <input type="checkbox" name="language[]" value="php" />PHP<br /> <input type="checkbox" name="language[]" value="html" />HTML<br /> <input type="checkbox" name="language[]" value="java" />Java<br /> <input type="checkbox" name="language[]" value="c++" />C++<br /> <input type="submit" value="send" /> </form> <body/> <html/>

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:
40.8 ms | 402 KiB | 8 Q