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($response, 'is_null'))));
Output for git.master, git.master_jit, rfc.property-hooks
Fatal error: Uncaught TypeError: RecursiveIteratorIterator::__construct(): Argument #1 ($iterator) must be of type object, array given in /in/pgcmf:23 Stack trace: #0 /in/pgcmf(23): RecursiveIteratorIterator->__construct(Array, 'is_null') #1 {main} thrown in /in/pgcmf 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:
60.86 ms | 402 KiB | 8 Q