3v4l.org

run code in 500+ PHP versions simultaneously
<?php $tests = [ 'one2three', '3blindMice', 'Blind Melon', 'c0lourbl!nd', ]; // I am making a method so your password needs at least one captial and one symbol or number. foreach ($tests as $test) { printf( "%14s: %s\n", $test, preg_match('/(?=.*[A-Z])(?=.*[^a-zA-Z\s])/su', $test) ? 'pass' : 'fail' ); }
Output for git.master_jit, git.master
one2three: fail 3blindMice: pass Blind Melon: fail c0lourbl!nd: fail

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:
39.88 ms | 844 KiB | 4 Q