3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.49 ms | 1399 KiB | 19 Q