3v4l.org

run code in 500+ PHP versions simultaneously
<?php for ($i = 0; $i < 1000; $i++) { $pathname = "sites/all/modules/foo$i/foo_sub$i/foo_sub$i.info.yml"; assert($pathname[0] !== '/' && array_key_exists('path', parse_url($pathname)) && count(array_keys(parse_url($pathname))) === 1, 'The relative path and filename is invalid. A path relative to the Drupal root is expected, for example: "core/modules/node/node.info.yml".'); }
Output for rfc.property-hooks

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.25 ms | 1631 KiB | 4 Q