3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
165.88 ms | 1394 KiB | 15 Q