3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $findWhat = "ODFKDOK"; $findWhere = "tttttK"; sprintf("SELECT `Company_Name`, `Address1`, `Address2`, `Address3`, `Town`, `County`, `Post_Code`, `Telephone`, `URL`, `SIC_Code`, `SIC_Description` FROM `Data1` WHERE (company_name like '%%s%' or `SIC_Description` like '%%s%') and (`Town` like '%s%' or `Post_Code` like '%s%' )", $findWhat, $findWhat,$findWhat, $findWhat);
Output for 4.3.2 - 5.6.28, 7.0.0 - 7.1.0
Warning: sprintf(): Too few arguments in /in/HbUTC on line 5
Output for hhvm-3.10.0 - 3.12.0
Warning: Invalid argument: arguments: (too few) in /in/HbUTC on line 5
Output for 4.3.0 - 4.3.1
Warning: sprintf() [http://www.php.net/function.sprintf]: Too few arguments in /in/HbUTC on line 5