3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = "Hello this is dummy.test. in this string any character, any special character can appear. it is not a fixed type text and predefined. this string will not read manually check by the Programmer.Sorry for the bad English."; $test = strrpos($str, 'test'); $dummy = strrpos($str, 'dummy'); echo $dummy;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/rfXcK
function name:  (null)
number of ops:  13
compiled vars:  !0 = $str, !1 = $test, !2 = $dummy
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'Hello+this+is+dummy.test.+in+this+string++%0Aany+character%2C+any+special+character+can+appear.+it+is+not+a+fixed+type+%0Atext+and+predefined.+this+string+will+not+read+manually+check+by+the+%0AProgrammer.Sorry+for+the+bad+English.'
    8     1        INIT_FCALL                                               'strrpos'
          2        SEND_VAR                                                 !0
          3        SEND_VAL                                                 'test'
          4        DO_ICALL                                         $4      
          5        ASSIGN                                                   !1, $4
    9     6        INIT_FCALL                                               'strrpos'
          7        SEND_VAR                                                 !0
          8        SEND_VAL                                                 'dummy'
          9        DO_ICALL                                         $6      
         10        ASSIGN                                                   !2, $6
   11    11        ECHO                                                     !2
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
179.44 ms | 1394 KiB | 15 Q