3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $str = "LOA_SANTANDER_PERSONAL_LOAN_TIER1"; $split = str_split($str); foreach($split as $chr){ echo $chr . " - " . ord($chr) . "<br>"; }
based on JUMfd
Output for 5.0.0 - 7.2.0
L - 76<br>O - 79<br>A - 65<br>_ - 95<br>S - 83<br>A - 65<br>N - 78<br>T - 84<br>A - 65<br>N - 78<br>D - 68<br>E - 69<br>R - 82<br>_ - 95<br>P - 80<br>E - 69<br>R - 82<br>S - 83<br>O - 79<br>N - 78<br>A - 65<br>L - 76<br>_ - 95<br>L - 76<br>O - 79<br>A - 65<br>N - 78<br>_ - 95<br>T - 84<br>I - 73<br>E - 69<br>R - 82<br>1 - 49<br>
Output for 4.4.5 - 4.4.9
Fatal error: Call to undefined function: str_split() in /in/jARp3 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/jARp3 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/jARp3 on line 5