3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $gorod = "Москва"; if( !preg_match('/[Мм][Оо][Сс][Кк][Вв][Аа]/', $gorod, $matches, PREG_OFFSET_CAPTURE, 0) ) { $dostavka = 1; } else { $dostavka = 0; } var_dump($dostavka)
Output for 5.6.38
Parse error: syntax error, unexpected end of file in /in/d2WWv on line 11
Process exited with code 255.