3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $string = 'descuentoladrillo'; if(preg_match('/descuento/i',$string)){ echo "Simona"; } $string2 = 'descuentobloque de concreto'; if(preg_match('/descuento/i',$string2)){ echo "Simona23"; }
based on Q5PJQ
Output for 5.6.0 - 5.6.30, hhvm-3.15.4, 7.0.0 - 7.2.0
SimonaSimona23