3v4l.org

run code in 500+ PHP versions simultaneously
<?php $options = []; $menu_parent = NULL; if (!isset($options[$menu_parent])) { // The requested menu parent cannot be found in the menu anymore. Try // setting it to the top level in the current menu. list($menu_name, $parent) = explode(':', $menu_parent, 2); $menu_parent = $menu_name . ':'; } var_dump($menu_parent);
Output for rfc.property-hooks
Deprecated: explode(): Passing null to parameter #2 ($string) of type string is deprecated in /in/Cb3UV on line 9 Warning: Undefined array key 1 in /in/Cb3UV on line 9 string(1) ":"

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:
49.05 ms | 1470 KiB | 4 Q