3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo 'sem parenteses'; $extensao = end ( explode ('.', 'arquivo.ext' ) ) ; echo 'com parenteses'; $extensao = ( end ( explode ('.', 'arquivo.ext' ) ) ) ;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ojuEs
function name:  (null)
number of ops:  19
compiled vars:  !0 = $extensao
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ECHO                                                     'sem+parenteses'
    3     1        INIT_FCALL                                               'end'
          2        INIT_FCALL                                               'explode'
          3        SEND_VAL                                                 '.'
          4        SEND_VAL                                                 'arquivo.ext'
          5        DO_ICALL                                         $1      
          6        SEND_VAR_NO_REF                               0          $1
          7        DO_ICALL                                         $2      
          8        ASSIGN                                                   !0, $2
    4     9        ECHO                                                     'com+parenteses'
    5    10        INIT_FCALL                                               'end'
         11        INIT_FCALL                                               'explode'
         12        SEND_VAL                                                 '.'
         13        SEND_VAL                                                 'arquivo.ext'
         14        DO_ICALL                                         $4      
         15        SEND_VAR_NO_REF                               0          $4
         16        DO_ICALL                                         $5      
         17        ASSIGN                                                   !0, $5
         18      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
174.18 ms | 1394 KiB | 17 Q