3v4l.org

run code in 300+ PHP versions simultaneously
<?php $testdata = "680,681,680,680,680"; $testval = push(array_sum((int)explode(",",$testdata))); echo $testval; ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/coe5j
function name:  (null)
number of ops:  15
compiled vars:  !0 = $testdata, !1 = $testval
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '680%2C681%2C680%2C680%2C680'
    3     1        INIT_FCALL_BY_NAME                                       'push'
          2        INIT_FCALL                                               'array_sum'
          3        INIT_FCALL                                               'explode'
          4        SEND_VAL                                                 '%2C'
          5        SEND_VAR                                                 !0
          6        DO_ICALL                                         $3      
          7        CAST                                          4  ~4      $3
          8        SEND_VAL                                                 ~4
          9        DO_ICALL                                         $5      
         10        SEND_VAR_NO_REF_EX                                       $5
         11        DO_FCALL                                      0  $6      
         12        ASSIGN                                                   !1, $6
    4    13        ECHO                                                     !1
    5    14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
167.17 ms | 1394 KiB | 17 Q