3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
162.82 ms | 1394 KiB | 17 Q