3v4l.org

run code in 300+ PHP versions simultaneously
<?php $checkString = substr("cus_7389237298u",0,4); echo ('cus_'===$checkString);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/WVjhK
function name:  (null)
number of ops:  9
compiled vars:  !0 = $checkString
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'substr'
          1        SEND_VAL                                                 'cus_7389237298u'
          2        SEND_VAL                                                 0
          3        SEND_VAL                                                 4
          4        DO_ICALL                                         $1      
          5        ASSIGN                                                   !0, $1
    4     6        IS_IDENTICAL                                     ~3      !0, 'cus_'
          7        ECHO                                                     ~3
          8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
147.18 ms | 1394 KiB | 15 Q