3v4l.org

run code in 300+ PHP versions simultaneously
<?php $response = json_decode('{"services": {"service": [ { "custom_name": "My Compose Service", "service_id": "73", "cloud_services": {"cloud_service": [ { "custom_name": "My Personal TAI Cloud", "service_id": "71" }, { "custom_name": "My Professional TAI Cloud", "service_id": "72" }, null ]} }, null ]}}', true); var_dump(iterator_to_array(new RecursiveCallbackFilterIterator(new RecursiveIteratorIterator($services, 'is_null'))));
Output for git.master, git.master_jit, rfc.property-hooks
Warning: Undefined variable $services in /in/HXMoC on line 23 Fatal error: Uncaught TypeError: RecursiveIteratorIterator::__construct(): Argument #1 ($iterator) must be of type object, null given in /in/HXMoC:23 Stack trace: #0 /in/HXMoC(23): RecursiveIteratorIterator->__construct(NULL, 'is_null') #1 {main} thrown in /in/HXMoC on line 23
Process exited with code 255.

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