3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $names = "IPNX Nigeria Limited Megatech Networks Netcom World Web Limited Hyperia InfoWeb Limited Linkserve Limited Nigeria On-Line Limited Inet Global Services Ltd Siotel Limited Accelon Nigeria Limited Direct On PC Galaxy Information Technology and Telecommunications Limited 21st Century Technologies Limited Pinet Integrated Telekom & Networks Limited International Technology Marketing Associates Laro Wireless c/o Laro Computers Limited Electronic Connections limited Stallionet Rainbownet Limited Webcom Limited IT Networks Limited Roseccom Nigeria Limited Swift Networks Limited"; $names = explode("\n", $names); foreach ( $names as $name ) { $name = trim($name); $tin = "222" . $rand->randNo(11); $sql = sprintf($sql, $tin, $name, 1); var_dump($sql);
Output for 5.4.0 - 5.4.11
Parse error: syntax error, unexpected end of file in /in/3ZB3B on line 34
Process exited with code 255.
Output for 5.3.0 - 5.3.21
Parse error: syntax error, unexpected $end in /in/3ZB3B on line 34
Process exited with code 255.