3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php 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 5.0.4 - 5.6.28, 7.0.0 - 7.1.0
Notice: Undefined variable: findWhat in /in/uBOJ4 on line 2 Notice: Undefined variable: findWhat in /in/uBOJ4 on line 2 Notice: Undefined variable: findWhat in /in/uBOJ4 on line 2 Notice: Undefined variable: findWhat in /in/uBOJ4 on line 2 Warning: sprintf(): Too few arguments in /in/uBOJ4 on line 2
Output for hhvm-3.12.0
Notice: Undefined variable: findWhat in /in/uBOJ4 on line -1 Notice: Undefined variable: findWhat in /in/uBOJ4 on line -1 Notice: Undefined variable: findWhat in /in/uBOJ4 on line -1 Notice: Undefined variable: findWhat in /in/uBOJ4 on line -1 Warning: Invalid argument: arguments: (too few) in /in/uBOJ4 on line -1
Output for hhvm-3.10.0
Notice: Undefined variable: findWhat in /in/uBOJ4 on line 2 Notice: Undefined variable: findWhat in /in/uBOJ4 on line 2 Notice: Undefined variable: findWhat in /in/uBOJ4 on line 2 Notice: Undefined variable: findWhat in /in/uBOJ4 on line 2 Warning: Invalid argument: arguments: (too few) in /in/uBOJ4 on line 2
Output for 4.3.2 - 5.0.3
Notice: Undefined variable: findWhat in /in/uBOJ4 on line 2 Notice: Undefined variable: findWhat in /in/uBOJ4 on line 2 Notice: Undefined variable: findWhat in /in/uBOJ4 on line 2 Notice: Undefined variable: findWhat in /in/uBOJ4 on line 2 Warning: sprintf(): Too few arguments in /in/uBOJ4 on line 2
Output for 4.3.0 - 4.3.1
Notice: Undefined variable: findWhat in /in/uBOJ4 on line 2 Notice: Undefined variable: findWhat in /in/uBOJ4 on line 2 Notice: Undefined variable: findWhat in /in/uBOJ4 on line 2 Notice: Undefined variable: findWhat in /in/uBOJ4 on line 2 Warning: sprintf() [http://www.php.net/function.sprintf]: Too few arguments in /in/uBOJ4 on line 2