3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $json = array( "tmp" => "empty" ,error => "" ,id => $row['id'] ,type => $row['type'] ,login => $row['login'] ,email => $row['email'] ,firstname => $row['firstname'] ,lastname => $row['lastname'] ,aid => $row['aid'] ,password => $row['password'] ,ibe_id => $row['ibe_id'] ,ibe_uid => $row['ibe_uid'] ,ibe_agency => $row['ibe_agency'] ,ibe_name => $row['ibe_name'] ,ibe_password => $row['ibe_password'] ,ibe_ibe => $row['ibe_ibe'] ); echo $json;
based on GroSP
Output for 7.2.0
Warning: Use of undefined constant error - assumed 'error' (this will throw an Error in a future version of PHP) in /in/7oT6r on line 5 Warning: Use of undefined constant id - assumed 'id' (this will throw an Error in a future version of PHP) in /in/7oT6r on line 6 Notice: Undefined variable: row in /in/7oT6r on line 6 Warning: Use of undefined constant type - assumed 'type' (this will throw an Error in a future version of PHP) in /in/7oT6r on line 7 Notice: Undefined variable: row in /in/7oT6r on line 7 Warning: Use of undefined constant login - assumed 'login' (this will throw an Error in a future version of PHP) in /in/7oT6r on line 8 Notice: Undefined variable: row in /in/7oT6r on line 8 Warning: Use of undefined constant email - assumed 'email' (this will throw an Error in a future version of PHP) in /in/7oT6r on line 9 Notice: Undefined variable: row in /in/7oT6r on line 9 Warning: Use of undefined constant firstname - assumed 'firstname' (this will throw an Error in a future version of PHP) in /in/7oT6r on line 10 Notice: Undefined variable: row in /in/7oT6r on line 10 Warning: Use of undefined constant lastname - assumed 'lastname' (this will throw an Error in a future version of PHP) in /in/7oT6r on line 11 Notice: Undefined variable: row in /in/7oT6r on line 11 Warning: Use of undefined constant aid - assumed 'aid' (this will throw an Error in a future version of PHP) in /in/7oT6r on line 12 Notice: Undefined variable: row in /in/7oT6r on line 12 Warning: Use of undefined constant password - assumed 'password' (this will throw an Error in a future version of PHP) in /in/7oT6r on line 13 Notice: Undefined variable: row in /in/7oT6r on line 13 Warning: Use of undefined constant ibe_id - assumed 'ibe_id' (this will throw an Error in a future version of PHP) in /in/7oT6r on line 14 Notice: Undefined variable: row in /in/7oT6r on line 14 Warning: Use of undefined constant ibe_uid - assumed 'ibe_uid' (this will throw an Error in a future version of PHP) in /in/7oT6r on line 15 Notice: Undefined variable: row in /in/7oT6r on line 15 Warning: Use of undefined constant ibe_agency - assumed 'ibe_agency' (this will throw an Error in a future version of PHP) in /in/7oT6r on line 16 Notice: Undefined variable: row in /in/7oT6r on line 16 Warning: Use of undefined constant ibe_name - assumed 'ibe_name' (this will throw an Error in a future version of PHP) in /in/7oT6r on line 17 Notice: Undefined variable: row in /in/7oT6r on line 17 Warning: Use of undefined constant ibe_password - assumed 'ibe_password' (this will throw an Error in a future version of PHP) in /in/7oT6r on line 18 Notice: Undefined variable: row in /in/7oT6r on line 18 Warning: Use of undefined constant ibe_ibe - assumed 'ibe_ibe' (this will throw an Error in a future version of PHP) in /in/7oT6r on line 19 Notice: Undefined variable: row in /in/7oT6r on line 19 Notice: Array to string conversion in /in/7oT6r on line 22 Array
Output for 5.4.2 - 7.1.10
Notice: Use of undefined constant error - assumed 'error' in /in/7oT6r on line 5 Notice: Use of undefined constant id - assumed 'id' in /in/7oT6r on line 6 Notice: Undefined variable: row in /in/7oT6r on line 6 Notice: Use of undefined constant type - assumed 'type' in /in/7oT6r on line 7 Notice: Undefined variable: row in /in/7oT6r on line 7 Notice: Use of undefined constant login - assumed 'login' in /in/7oT6r on line 8 Notice: Undefined variable: row in /in/7oT6r on line 8 Notice: Use of undefined constant email - assumed 'email' in /in/7oT6r on line 9 Notice: Undefined variable: row in /in/7oT6r on line 9 Notice: Use of undefined constant firstname - assumed 'firstname' in /in/7oT6r on line 10 Notice: Undefined variable: row in /in/7oT6r on line 10 Notice: Use of undefined constant lastname - assumed 'lastname' in /in/7oT6r on line 11 Notice: Undefined variable: row in /in/7oT6r on line 11 Notice: Use of undefined constant aid - assumed 'aid' in /in/7oT6r on line 12 Notice: Undefined variable: row in /in/7oT6r on line 12 Notice: Use of undefined constant password - assumed 'password' in /in/7oT6r on line 13 Notice: Undefined variable: row in /in/7oT6r on line 13 Notice: Use of undefined constant ibe_id - assumed 'ibe_id' in /in/7oT6r on line 14 Notice: Undefined variable: row in /in/7oT6r on line 14 Notice: Use of undefined constant ibe_uid - assumed 'ibe_uid' in /in/7oT6r on line 15 Notice: Undefined variable: row in /in/7oT6r on line 15 Notice: Use of undefined constant ibe_agency - assumed 'ibe_agency' in /in/7oT6r on line 16 Notice: Undefined variable: row in /in/7oT6r on line 16 Notice: Use of undefined constant ibe_name - assumed 'ibe_name' in /in/7oT6r on line 17 Notice: Undefined variable: row in /in/7oT6r on line 17 Notice: Use of undefined constant ibe_password - assumed 'ibe_password' in /in/7oT6r on line 18 Notice: Undefined variable: row in /in/7oT6r on line 18 Notice: Use of undefined constant ibe_ibe - assumed 'ibe_ibe' in /in/7oT6r on line 19 Notice: Undefined variable: row in /in/7oT6r on line 19 Notice: Array to string conversion in /in/7oT6r on line 22 Array
Output for 5.3.18 - 5.3.29
Notice: Use of undefined constant error - assumed 'error' in /in/7oT6r on line 5 Notice: Use of undefined constant id - assumed 'id' in /in/7oT6r on line 6 Notice: Undefined variable: row in /in/7oT6r on line 6 Notice: Use of undefined constant type - assumed 'type' in /in/7oT6r on line 7 Notice: Undefined variable: row in /in/7oT6r on line 7 Notice: Use of undefined constant login - assumed 'login' in /in/7oT6r on line 8 Notice: Undefined variable: row in /in/7oT6r on line 8 Notice: Use of undefined constant email - assumed 'email' in /in/7oT6r on line 9 Notice: Undefined variable: row in /in/7oT6r on line 9 Notice: Use of undefined constant firstname - assumed 'firstname' in /in/7oT6r on line 10 Notice: Undefined variable: row in /in/7oT6r on line 10 Notice: Use of undefined constant lastname - assumed 'lastname' in /in/7oT6r on line 11 Notice: Undefined variable: row in /in/7oT6r on line 11 Notice: Use of undefined constant aid - assumed 'aid' in /in/7oT6r on line 12 Notice: Undefined variable: row in /in/7oT6r on line 12 Notice: Use of undefined constant password - assumed 'password' in /in/7oT6r on line 13 Notice: Undefined variable: row in /in/7oT6r on line 13 Notice: Use of undefined constant ibe_id - assumed 'ibe_id' in /in/7oT6r on line 14 Notice: Undefined variable: row in /in/7oT6r on line 14 Notice: Use of undefined constant ibe_uid - assumed 'ibe_uid' in /in/7oT6r on line 15 Notice: Undefined variable: row in /in/7oT6r on line 15 Notice: Use of undefined constant ibe_agency - assumed 'ibe_agency' in /in/7oT6r on line 16 Notice: Undefined variable: row in /in/7oT6r on line 16 Notice: Use of undefined constant ibe_name - assumed 'ibe_name' in /in/7oT6r on line 17 Notice: Undefined variable: row in /in/7oT6r on line 17 Notice: Use of undefined constant ibe_password - assumed 'ibe_password' in /in/7oT6r on line 18 Notice: Undefined variable: row in /in/7oT6r on line 18 Notice: Use of undefined constant ibe_ibe - assumed 'ibe_ibe' in /in/7oT6r on line 19 Notice: Undefined variable: row in /in/7oT6r on line 19 Array