3v4l.org

run code in 300+ PHP versions simultaneously
<?php $p = array( 'test' => 7, 'checkbox_2' => 'on', 'checkbox_4' => 'on', 'checkbox_10' => 'on', 'Submit' => '', 'name' => 20, ); $checkboxes = array_filter($p, function($val) { echo $key . ' - ' . $val . PHP_EOL; });
Output for git.master, git.master_jit, rfc.property-hooks
Warning: Undefined variable $key in /in/GSldT on line 13 - 7 Warning: Undefined variable $key in /in/GSldT on line 13 - on Warning: Undefined variable $key in /in/GSldT on line 13 - on Warning: Undefined variable $key in /in/GSldT on line 13 - on Warning: Undefined variable $key in /in/GSldT on line 13 - Warning: Undefined variable $key in /in/GSldT on line 13 - 20

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