3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = 'cat:dog:dino'; $b = 'dino!dog!cat'; echo strpbrk($a, '!:'); echo strpbrk($b, '!:');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/PL3Hu
function name:  (null)
number of ops:  13
compiled vars:  !0 = $a, !1 = $b
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'cat%3Adog%3Adino'
    3     1        ASSIGN                                                   !1, 'dino%21dog%21cat'
    4     2        INIT_FCALL                                               'strpbrk'
          3        SEND_VAR                                                 !0
          4        SEND_VAL                                                 '%21%3A'
          5        DO_ICALL                                         $4      
          6        ECHO                                                     $4
    5     7        INIT_FCALL                                               'strpbrk'
          8        SEND_VAR                                                 !1
          9        SEND_VAL                                                 '%21%3A'
         10        DO_ICALL                                         $5      
         11        ECHO                                                     $5
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
160.58 ms | 1394 KiB | 15 Q