3v4l.org

run code in 300+ PHP versions simultaneously
<?php //0 === strpos('VeryStrangeThirdPartyLibraryName\\This\\Is\\A\\Very\\Long\\Namespace\\Path\\With\\Many\\Parts\\To\\This\\Class', 'Yii\\'); 'Yii\\' === substr('VeryStrangeThirdPartyLibraryName\\This\\Is\\A\\Very\\Long\\Namespace\\Path\\With\\Many\\Parts\\To\\This\\Class', 0, 4);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/WIv4Z
function name:  (null)
number of ops:  8
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   INIT_FCALL                                               'substr'
          1        SEND_VAL                                                 'VeryStrangeThirdPartyLibraryName%5CThis%5CIs%5CA%5CVery%5CLong%5CNamespace%5CPath%5CWith%5CMany%5CParts%5CTo%5CThis%5CClass'
          2        SEND_VAL                                                 0
          3        SEND_VAL                                                 4
          4        DO_ICALL                                         $0      
          5        IS_IDENTICAL                                     ~1      $0, 'Yii%5C'
          6        FREE                                                     ~1
          7      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
175.02 ms | 1393 KiB | 15 Q