3v4l.org

run code in 300+ PHP versions simultaneously
<?php $txt="Fatti&Storie 5 - Lorem ipsum dolor sit amet [nid:35]"; echo strripos($txt, ']'); echo strripos($txt, ':');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/MliNu
function name:  (null)
number of ops:  12
compiled vars:  !0 = $txt
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'Fatti%26Storie+5+-+Lorem+ipsum+dolor+sit+amet+%5Bnid%3A35%5D'
    3     1        INIT_FCALL                                               'strripos'
          2        SEND_VAR                                                 !0
          3        SEND_VAL                                                 '%5D'
          4        DO_ICALL                                         $2      
          5        ECHO                                                     $2
    4     6        INIT_FCALL                                               'strripos'
          7        SEND_VAR                                                 !0
          8        SEND_VAL                                                 '%3A'
          9        DO_ICALL                                         $3      
         10        ECHO                                                     $3
         11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.52 ms | 1394 KiB | 15 Q