3v4l.org

run code in 300+ PHP versions simultaneously
<?php $data = [ '123.animal=cat', '123.name=fred', '123.food=fish', '345.animal=dog', 'petshop=zoonoria', ]; $ini = parse_ini_string($data); $result = []; foreach ($ini as $key => $value) { echo $key, ' => ', $value, PHP_EOL; }
Output for git.master, git.master_jit, rfc.property-hooks
Fatal error: Uncaught TypeError: parse_ini_string(): Argument #1 ($ini_string) must be of type string, array given in /in/fSLbU:11 Stack trace: #0 /in/fSLbU(11): parse_ini_string(Array) #1 {main} thrown in /in/fSLbU on line 11
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:
49.78 ms | 401 KiB | 8 Q