3v4l.org

run code in 300+ PHP versions simultaneously
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Output for 8.1.10 - 8.1.32, 8.2.10 - 8.2.28, 8.3.0 - 8.3.19, 8.4.1 - 8.4.5
Array ( [0] => Array ( [name] => Jake [related] => Array ( [0] => Array ( [name] => Doug ) [1] => Array ( [name] => Franzia [category] => nemesis ) ) ) [1] => Array ( [name] => Scully [related] => Array ( [0] => Array ( [name] => Kelly [category] => pet ) [1] => Array ( [name] => Earl [category] => friend ) [2] => Array ( [name] => Merissa [category] => friend ) [3] => Array ( [name] => Michael [category] => friend ) [4] => Array ( [name] => Norm [category] => self ) ) ) [2] => Array ( [name] => Amy [related] => Array ( ) ) [3] => Array ( [name] => Hitchcock [related] => Array ( ) ) [4] => Array ( [name] => Rosa [related] => Array ( ) ) )

preferences:
84.06 ms | 417 KiB | 5 Q