3v4l.org

run code in 300+ PHP versions simultaneously
<?php $block_by_time = array( 0, 1, 2, 3, ); $ar_ruleinfo = array( 'rule_name' => 'remove_no_paym', ); var_dump(is_array($block_by_time)); var_dump(in_array($ar_ruleInfo['rule_name'], array_keys($block_by_time))); print_r(array_keys($block_by_time)); print_r($ar_ruleInfo['rule_name']);
Output for git.master, git.master_jit
bool(true) Warning: Undefined variable $ar_ruleInfo in /in/dqbB9 on line 11 Warning: Trying to access array offset on value of type null in /in/dqbB9 on line 11 bool(true) Array ( [0] => 0 [1] => 1 [2] => 2 [3] => 3 ) Warning: Undefined variable $ar_ruleInfo in /in/dqbB9 on line 13 Warning: Trying to access array offset on value of type null in /in/dqbB9 on line 13
Output for rfc.property-hooks
bool(true) Warning: Undefined variable $ar_ruleInfo in /in/dqbB9 on line 11 Warning: Trying to access array offset on null in /in/dqbB9 on line 11 bool(true) Array ( [0] => 0 [1] => 1 [2] => 2 [3] => 3 ) Warning: Undefined variable $ar_ruleInfo in /in/dqbB9 on line 13 Warning: Trying to access array offset on null in /in/dqbB9 on line 13

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.09 ms | 401 KiB | 8 Q