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($class, 0, 4);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/QXMfF
function name:  (null)
number of ops:  7
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'strpos'
          1        SEND_VAL                                                 'VeryStrangeThirdPartyLibraryName%5CThis%5CIs%5CA%5CVery%5CLong%5CNamespace%5CPath%5CWith%5CMany%5CParts%5CTo%5CThis%5CClass'
          2        SEND_VAL                                                 'Yii%5C'
          3        DO_ICALL                                         $0      
          4        IS_IDENTICAL                                     ~1      $0, 0
          5        FREE                                                     ~1
    5     6      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.89 ms | 1394 KiB | 15 Q