3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $text = "abc9def"; $pattern = '/[^a-zA-Z]/'; if (preg_match($pattern, $text)){ print("no"); }else{ print("yes"); }
based on SWgNX
Output for 5.3.18 - 7.3.0beta1
no