3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = 'Santander Merchant Plataform Solutions S.A.'; return mb_substr( $string, 0, $length, mb_detect_encoding($string));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/AQGnX
function name:  (null)
number of ops:  12
compiled vars:  !0 = $string, !1 = $length
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'Santander+Merchant+Plataform+Solutions+S.A.'
    4     1        INIT_FCALL                                               'mb_substr'
    5     2        SEND_VAR                                                 !0
    6     3        SEND_VAL                                                 0
    7     4        SEND_VAR                                                 !1
    8     5        INIT_FCALL                                               'mb_detect_encoding'
          6        SEND_VAR                                                 !0
          7        DO_ICALL                                         $3      
          8        SEND_VAR                                                 $3
          9        DO_ICALL                                         $4      
         10      > RETURN                                                   $4
         11*     > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
169.03 ms | 1394 KiB | 17 Q