3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $aa = 'as.sd.ddddd.jpg'; list($txt, $ext) = explode(".", $aa); echo $txt; echo '<br />'; echo $ext;
Finding entry points
Branch analysis from position: 0
Jump found. Position 1 = -2
filename:       /in/9I819
function name:  (null)
number of ops:  14
compiled vars:  !0 = $aa, !1 = $txt, !2 = $ext
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   2     0  E >   ASSIGN                                                   !0, 'as.sd.ddddd.jpg'
   3     1        INIT_FCALL                                               'explode'
         2        SEND_VAL                                                 '.'
         3        SEND_VAR                                                 !0
         4        DO_ICALL                                         $4      
         5        FETCH_LIST                                       $5      $4, 0
         6        ASSIGN                                                   !1, $5
         7        FETCH_LIST                                       $7      $4, 1
         8        ASSIGN                                                   !2, $7
         9        FREE                                                     $4
   5    10        ECHO                                                     !1
   6    11        ECHO                                                     '%3Cbr+%2F%3E'
   7    12        ECHO                                                     !2
        13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 7.2.0