3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $query = "select emplid from statistics"; $result = mysql_query($query, $pds) or trigger_error('Query failed: ' . mysql_error($pds), E_USER_ERROR); while($result_row = mysql_fetch_assoc($result) ) { $emplid_val=$result_row['emplid']; $sql_text_tuition= "sqlplus -s 'gradsch_query/g18a4s3h@(DESCRIPTION =(ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = CS900RPT.et.ncsu.edu)(PORT = 16210)))(CONNECT_DATA =(SERVICE_NAME = CS900RPT.et.ncsu.edu)))' @/etc/oracle/gsoars_residency_by_type $emplid_val"; $tuition_output1=""; $sql_line_tuition = exec($sql_text_tuition,$tuition_output1);
Output for 5.4.0 - 5.4.29
Parse error: syntax error, unexpected end of file in /in/f397u on line 8
Process exited with code 255.
Output for 5.3.0 - 5.3.28
Parse error: syntax error, unexpected $end in /in/f397u on line 8
Process exited with code 255.