3v4l.org

run code in 500+ PHP versions simultaneously
<?php $array = [ '.ws_config', 'Akms-wpp-all-vars.cfg', 'makes-lop-use-vars.cfg', '.ptp-sync/ASERD_EDITMSG', '.ptp-sync/index', '.ptp-sync/hooks/apply_value', ]; $hidden = new class (new ArrayIterator($array)) extends FilterIterator { public function accept(): bool { return !str_starts_with($this->current(), '.ptp-sync/'); } }; $result = iterator_to_array($hidden, true); print_r($result);
Output for rfc.property-hooks, git.master, git.master_jit
Array ( [0] => .ws_config [1] => Akms-wpp-all-vars.cfg [2] => makes-lop-use-vars.cfg )

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:
42.53 ms | 1274 KiB | 4 Q