3v4l.org

run code in 300+ PHP versions simultaneously
<?php mb_internal_encoding("UTF-8"); /* $s="ó12345678\r\n1234\n;"; //$s=utf8_encode("ó12345678\r\n1234\n;") // "ó12345678rn1234n;" // 012345678901234567890 print_r(mb_detect_encoding($s)."\n"); print_r(mb_strlen($s)."\n"); print_r(mb_strpos($s,';')."\n"); */ /* $linePart="abszolúte A_ADV ADV,;"; for ($i=0;$i<strlen($linePart);$i++) { print $i . "\t" . dechex(ord($linePart[$i])) . "\t" . $linePart[$i] . PHP_EOL; } print 'orig linePart length: '; var_dump(mb_strlen($linePart)); print 'orig linePart: '; var_dump($linePart); print '; pos: '; var_dump(mb_strpos($linePart, ';')); */ //print mb_substr('0123456789', 5, null); print_r(mb_split("\t", "abszolúte A_ADV ADV,;"));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/eX8Te
function name:  (null)
number of ops:  11
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'mb_internal_encoding'
          1        SEND_VAL                                                 'UTF-8'
          2        DO_ICALL                                                 
   26     3        INIT_FCALL                                               'print_r'
          4        INIT_FCALL                                               'mb_split'
          5        SEND_VAL                                                 '%09'
          6        SEND_VAL                                                 'abszol%C3%BAte%09A_ADV%09ADV%2C%3B'
          7        DO_ICALL                                         $1      
          8        SEND_VAR                                                 $1
          9        DO_ICALL                                                 
         10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.71 ms | 1394 KiB | 19 Q