3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo substr("On first glance, the following appears to output 'true' ", strpos("On first glance, the following appears to output 'true' ", " ' ")+1, 4);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/7qt5V
function name:  (null)
number of ops:  12
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'substr'
          1        SEND_VAL                                                 'On+first+glance%2C+the+following+appears+to+output+%27true%27+'
          2        INIT_FCALL                                               'strpos'
          3        SEND_VAL                                                 'On+first+glance%2C+the+following+appears+to+output+%27true%27+'
          4        SEND_VAL                                                 '+%27+'
          5        DO_ICALL                                         $0      
          6        ADD                                              ~1      $0, 1
          7        SEND_VAL                                                 ~1
          8        SEND_VAL                                                 4
          9        DO_ICALL                                         $2      
         10        ECHO                                                     $2
         11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
165.46 ms | 1394 KiB | 17 Q