3v4l.org

run code in 500+ PHP versions simultaneously
<?php $href = "test#content"; $href = explode('#', $href); $href = $href['0']; echo $href;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/uWPOk
function name:  (null)
number of ops:  10
compiled vars:  !0 = $href
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                       !0, 'test%23content'
    4     1        INIT_FCALL                                                   'explode'
          2        SEND_VAL                                                     '%23'
          3        SEND_VAR                                                     !0
          4        DO_ICALL                                             $2      
          5        ASSIGN                                                       !0, $2
    5     6        FETCH_DIM_R                                          ~4      !0, 0
          7        ASSIGN                                                       !0, ~4
    6     8        ECHO                                                         !0
          9      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
166.69 ms | 2532 KiB | 14 Q