3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $data['acountNumber'] = 453554334; $accountNumber = str_split((string)$data['accountNumber']); $accountNumber_0 = $accountNumber[0]; $accountNumber_1 = $accountNumber[1]; $accountNumber_2 = $accountNumber[2]; $accountNumber_3 = $accountNumber[3]; $accountNumber_4 = $accountNumber[4]; $accountNumber_5 = $accountNumber[5]; $accountNumber_6 = $accountNumber[6]; $accountNumber_7 = $accountNumber[7]; $accountNumber_8 = $accountNumber[8];
Output for 5.3.0 - 7.1.0
Notice: Undefined index: accountNumber in /in/K7EJW on line 5 Notice: Undefined offset: 1 in /in/K7EJW on line 7 Notice: Undefined offset: 2 in /in/K7EJW on line 8 Notice: Undefined offset: 3 in /in/K7EJW on line 9 Notice: Undefined offset: 4 in /in/K7EJW on line 10 Notice: Undefined offset: 5 in /in/K7EJW on line 11 Notice: Undefined offset: 6 in /in/K7EJW on line 12 Notice: Undefined offset: 7 in /in/K7EJW on line 13 Notice: Undefined offset: 8 in /in/K7EJW on line 14
Output for 5.1.0 - 5.2.17
Notice: Undefined index: accountNumber in /in/K7EJW on line 5 Notice: Undefined offset: 1 in /in/K7EJW on line 7 Notice: Undefined offset: 2 in /in/K7EJW on line 8 Notice: Undefined offset: 3 in /in/K7EJW on line 9 Notice: Undefined offset: 4 in /in/K7EJW on line 10 Notice: Undefined offset: 5 in /in/K7EJW on line 11 Notice: Undefined offset: 6 in /in/K7EJW on line 12 Notice: Undefined offset: 7 in /in/K7EJW on line 13 Notice: Undefined offset: 8 in /in/K7EJW on line 14
Output for 5.0.0 - 5.0.5
Notice: Undefined index: accountNumber in /in/K7EJW on line 5 Notice: Undefined offset: 0 in /in/K7EJW on line 6 Notice: Undefined offset: 1 in /in/K7EJW on line 7 Notice: Undefined offset: 2 in /in/K7EJW on line 8 Notice: Undefined offset: 3 in /in/K7EJW on line 9 Notice: Undefined offset: 4 in /in/K7EJW on line 10 Notice: Undefined offset: 5 in /in/K7EJW on line 11 Notice: Undefined offset: 6 in /in/K7EJW on line 12 Notice: Undefined offset: 7 in /in/K7EJW on line 13 Notice: Undefined offset: 8 in /in/K7EJW on line 14
Output for 4.4.5 - 4.4.9
Fatal error: Call to undefined function: str_split() in /in/K7EJW on line 5
Process exited with code 255.
Output for 4.3.2 - 4.4.4
Fatal error: Call to undefined function: str_split() in /in/K7EJW on line 5
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Call to undefined function: str_split() in /in/K7EJW on line 5