3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $data['acountNumber'] = 453554334; $accountNumber = str_split($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.5.0 - 5.6.28, 7.0.0 - 7.1.0
Notice: Undefined index: accountNumber in /in/F5fsB on line 5 Notice: Undefined offset: 1 in /in/F5fsB on line 7 Notice: Undefined offset: 2 in /in/F5fsB on line 8 Notice: Undefined offset: 3 in /in/F5fsB on line 9 Notice: Undefined offset: 4 in /in/F5fsB on line 10 Notice: Undefined offset: 5 in /in/F5fsB on line 11 Notice: Undefined offset: 6 in /in/F5fsB on line 12 Notice: Undefined offset: 7 in /in/F5fsB on line 13 Notice: Undefined offset: 8 in /in/F5fsB on line 14
Output for hhvm-3.10.0 - 3.12.0
Notice: Undefined index: accountNumber in /in/F5fsB on line 5 Notice: Undefined index: 1 in /in/F5fsB on line 7 Notice: Undefined index: 2 in /in/F5fsB on line 8 Notice: Undefined index: 3 in /in/F5fsB on line 9 Notice: Undefined index: 4 in /in/F5fsB on line 10 Notice: Undefined index: 5 in /in/F5fsB on line 11 Notice: Undefined index: 6 in /in/F5fsB on line 12 Notice: Undefined index: 7 in /in/F5fsB on line 13 Notice: Undefined index: 8 in /in/F5fsB on line 14
Output for 5.0.0 - 5.4.45
Output for 4.4.5 - 4.4.9
<br /> <b>Fatal error</b>: Call to undefined function: str_split() in <b>/in/F5fsB</b> on line <b>5</b><br />
Process exited with code 255.
Output for 4.3.2 - 4.4.4
<br /> <b>Fatal error</b>: Call to undefined function: str_split() in <b>/in/F5fsB</b> on line <b>5</b><br />
Process exited with code 255.
Output for 4.3.0 - 4.3.1
<br /> <b>Fatal error</b>: Call to undefined function: str_split() in <b>/in/F5fsB</b> on line <b>5</b><br />