3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
178.6 ms | 1394 KiB | 21 Q