3v4l.org

run code in 300+ PHP versions simultaneously
<?php if (false === empty($url)) { $url .= '/'; } return array_reduce( $parts, '.', $url );
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 3, Position 2 = 4
Branch analysis from position: 3
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 4
filename:       /in/uetBq
function name:  (null)
number of ops:  11
compiled vars:  !0 = $url, !1 = $parts
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   ISSET_ISEMPTY_CV                                 ~2      !0
          1        TYPE_CHECK                                    4          ~2
          2      > JMPZ                                                     ~3, ->4
    5     3    >   ASSIGN_OP                                     8          !0, '%2F'
    8     4    >   INIT_FCALL                                               'array_reduce'
    9     5        SEND_VAR                                                 !1
   10     6        SEND_VAL                                                 '.'
   11     7        SEND_VAR                                                 !0
          8        DO_ICALL                                         $5      
          9      > RETURN                                                   $5
   12    10*     > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
146.15 ms | 1394 KiB | 15 Q