3v4l.org

run code in 300+ PHP versions simultaneously
<?php $domains = [ 'asdf as$!@#@!T :"L EWd. 💁sl;fkajsldfjalwiuepa98YU(*&@#Y$)*&@(!&)asd***********eadsF', 'asdf as$!@#@!T :"L EWd. 💁sl;fkajsldfjalwiuepa98YU(*&@#Y$)*&@(!&)asd***********eadsFD', '', ' ', ]; foreach ($domains as $domain) { echo sprintf( "Input: %s\nOutput: %s\n\n", var_export($domain, true), var_export(filter_var($domain,FILTER_VALIDATE_DOMAIN), true), ); }
Output for git.master_jit, git.master
Input: 'asdf as$!@#@!T :"L EWd. 💁sl;fkajsldfjalwiuepa98YU(*&@#Y$)*&@(!&)asd***********eadsF' Output: 'asdf as$!@#@!T :"L EWd. 💁sl;fkajsldfjalwiuepa98YU(*&@#Y$)*&@(!&)asd***********eadsF' Input: 'asdf as$!@#@!T :"L EWd. 💁sl;fkajsldfjalwiuepa98YU(*&@#Y$)*&@(!&)asd***********eadsFD' Output: false Input: '' Output: '' Input: ' ' Output: ' '

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:
48.14 ms | 406 KiB | 5 Q