3v4l.org

run code in 500+ PHP versions simultaneously
<?php $str = 'T bw4  05/09/19 07:51 am BW6N 499.803'; $cleanStr = iconv('UTF-8', 'ISO-8859-1//TRANSLIT', utf8_encode($str)); $strArr = preg_split('/[\s\t]/', $cleanStr); var_dump($strArr);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/d80QS
function name:  (null)
number of ops:  19
compiled vars:  !0 = $str, !1 = $cleanStr, !2 = $strArr
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                       !0, 'T+bw4%C2%A0%C2%A005%2F09%2F19+07%3A51+am+BW6N+499.803'
    3     1        INIT_FCALL_BY_NAME                                           'iconv'
          2        SEND_VAL_EX                                                  'UTF-8'
          3        SEND_VAL_EX                                                  'ISO-8859-1%2F%2FTRANSLIT'
          4        INIT_FCALL                                                   'utf8_encode'
          5        SEND_VAR                                                     !0
          6        DO_FCALL_BY_NAME                                             
          7        SEND_VAR_NO_REF_EX                                           $4
          8        DO_FCALL                                          0  $5      
          9        ASSIGN                                                       !1, $5
    4    10        INIT_FCALL                                                   'preg_split'
         11        SEND_VAL                                                     '%2F%5B%5Cs%5Ct%5D%2F'
         12        SEND_VAR                                                     !1
         13        DO_ICALL                                             $7      
         14        ASSIGN                                                       !2, $7
    5    15        INIT_FCALL                                                   'var_dump'
         16        SEND_VAR                                                     !2
         17        DO_ICALL                                                     
         18      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
172.83 ms | 2614 KiB | 16 Q