3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $uid = 'NIbW9dAJpBabSy1j5aNQdQ'; echo strlen($uid). "\n"; preg_match('(^([a-zA-Z0-9_-]{22})$)', $uid, $match); var_dump($match);
Output for 4.3.0 - 5.6.28, hhvm-3.12.0, 7.0.0 - 7.1.0
22 array(2) { [0]=> string(22) "NIbW9dAJpBabSy1j5aNQdQ" [1]=> string(22) "NIbW9dAJpBabSy1j5aNQdQ" }
Output for hhvm-3.10.0

Process exited with code 153.