3v4l.org

run code in 300+ PHP versions simultaneously
<?php $where = array( 'user.is_removed' => 0, 'activation_code IS NULL' => NULL); if( true ) { $where = array_merge($where, array( '(user_role.role_id != 1 OR user_role.role_id IS NULL) AND (user_role.parent_role_id != 1 OR user_role.parent_role_id IS NULL)' => NULL )); } // Members should not be able to PM to observers as well if (true) { $where = array_merge($where, array( '(user_role.role_id != 3 OR user_role.parent_role_id != 3)' => null )); } var_dump($where);
Output for git.master, git.master_jit, rfc.property-hooks
array(4) { ["user.is_removed"]=> int(0) ["activation_code IS NULL"]=> NULL ["(user_role.role_id != 1 OR user_role.role_id IS NULL) AND (user_role.parent_role_id != 1 OR user_role.parent_role_id IS NULL)"]=> NULL ["(user_role.role_id != 3 OR user_role.parent_role_id != 3)"]=> NULL }

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