3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $pattern = [ '#ModDate\(D:.+?\)#iS', '#CreationDate\(D:.+?\)>>#iS', '#<(?:\w+>\s*)?<\w+>]/Info 12 0 R/Size 13>>#iS' ]; $test = [ '<<6406385b76f6aff658f99ae741311613>]/Info 12 0 R/Size 13>>', '<<386b495366514f47b43ebdafdcdfb880>]/Info 12 0 R/Size 13>>' ]; foreach ($test as $t) { foreach ($pattern as $p) { var_dump(preg_match($p, $t)); } };
Output for 5.6.0 - 7.3.0alpha1
int(0) int(0) int(1) int(0) int(0) int(1)