3v4l.org

run code in 300+ PHP versions simultaneously
<?php $object = (object) array( 'entity_id' => 99, ); var_dump($object->entity_id); $array = array( (object) array( 'id' => 99, ), ); $array = array( NULL, ); var_dump($array, array_flip($array)); //var_dump($array->entity_id);
Output for git.master, git.master_jit, rfc.property-hooks
int(99) Warning: array_flip(): Can only flip string and integer values, entry skipped in /in/6Mc80 on line 18 array(1) { [0]=> NULL } array(0) { }

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