3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo strrchr('aa.fff.hty','.'); echo substr(strrchr('aa.fff.hty','.'),1); /*$errors = get_defined_constants(true)['Core']; var_dump(array_search(8192, $errors));*/
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/RZrWL
function name:  (null)
number of ops:  15
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'strrchr'
          1        SEND_VAL                                                 'aa.fff.hty'
          2        SEND_VAL                                                 '.'
          3        DO_ICALL                                         $0      
          4        ECHO                                                     $0
    5     5        INIT_FCALL                                               'substr'
          6        INIT_FCALL                                               'strrchr'
          7        SEND_VAL                                                 'aa.fff.hty'
          8        SEND_VAL                                                 '.'
          9        DO_ICALL                                         $1      
         10        SEND_VAR                                                 $1
         11        SEND_VAL                                                 1
         12        DO_ICALL                                         $2      
         13        ECHO                                                     $2
    8    14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.73 ms | 1394 KiB | 17 Q