3v4l.org

run code in 300+ PHP versions simultaneously
<?php $number = 123123; $numbers = explode('.', $number) + array(0, 0); echo $numbers[0], '<span>'.$numbers[1].'</span>';
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/jilB4
function name:  (null)
number of ops:  14
compiled vars:  !0 = $number, !1 = $numbers
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 123123
    4     1        INIT_FCALL                                               'explode'
          2        SEND_VAL                                                 '.'
          3        SEND_VAR                                                 !0
          4        DO_ICALL                                         $3      
          5        ADD                                              ~4      $3, <array>
          6        ASSIGN                                                   !1, ~4
    5     7        FETCH_DIM_R                                      ~6      !1, 0
          8        ECHO                                                     ~6
          9        FETCH_DIM_R                                      ~7      !1, 1
         10        CONCAT                                           ~8      '%3Cspan%3E', ~7
         11        CONCAT                                           ~9      ~8, '%3C%2Fspan%3E'
         12        ECHO                                                     ~9
         13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
183.79 ms | 1394 KiB | 15 Q