3v4l.org

run code in 300+ PHP versions simultaneously
<?php $val = "1352,13;21313"; print_r(explode(';',$val)); $returnVal = array_pop($parts); print_r($returnVal);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/lgOqa
function name:  (null)
number of ops:  16
compiled vars:  !0 = $val, !1 = $returnVal, !2 = $parts
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '1352%2C13%3B21313'
    4     1        INIT_FCALL                                               'print_r'
          2        INIT_FCALL                                               'explode'
          3        SEND_VAL                                                 '%3B'
          4        SEND_VAR                                                 !0
          5        DO_ICALL                                         $4      
          6        SEND_VAR                                                 $4
          7        DO_ICALL                                                 
    5     8        INIT_FCALL                                               'array_pop'
          9        SEND_REF                                                 !2
         10        DO_ICALL                                         $6      
         11        ASSIGN                                                   !1, $6
    6    12        INIT_FCALL                                               'print_r'
         13        SEND_VAR                                                 !1
         14        DO_ICALL                                                 
         15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.43 ms | 1394 KiB | 19 Q