3v4l.org

run code in 500+ PHP versions simultaneously
<?php $array = json_decode('[{"id":"331","file_name":"3b1379e2496408dd4c865f5f63f96bf6","file_path":"https://path/3b1379e2496408dd4c865f5f63f96bf6.png"}, {"id":"332","file_name":"d0ef559473a061086592bceed0880a01","file_path":"https://path/d0ef559473a061086592bceed0880a01.png"}]'); echo json_encode(array_map(fn($value) => (object) ['url' => $value], array_column($array, 'file_path')), JSON_PRETTY_PRINT);
Output for git.master, git.master_jit, rfc.property-hooks
[ { "url": "https:\/\/path\/3b1379e2496408dd4c865f5f63f96bf6.png" }, { "url": "https:\/\/path\/d0ef559473a061086592bceed0880a01.png" } ]

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:
89.61 ms | 1154 KiB | 4 Q