3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = "some_text_v1_I2_some_mote__text"; $b = 2; $c = $b - 1; $d = $b + 1; $c = "/(i(ssue)?(" . $b . "\d)|(\d" . $b . "))|(i(ssue)?[0-" . ($b - 1) . ($b + 1) . "-9])|(faculty)|(Internal)|(Final)/i"; if (!preg_match($c, $a)) { echo 1; } else { echo 2; }
based on 9itZK
Output for 4.3.0 - 7.2.6
1