3v4l.org

run code in 300+ PHP versions simultaneously
<?php $dateStart = '2016/12/31'; list($yS, $mS, $dS) = preg_split("/[\/\.-]/", $dateStart); echo $dS;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ISlS0
function name:  (null)
number of ops:  14
compiled vars:  !0 = $dateStart, !1 = $yS, !2 = $mS, !3 = $dS
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '2016%2F12%2F31'
    3     1        INIT_FCALL                                               'preg_split'
          2        SEND_VAL                                                 '%2F%5B%5C%2F%5C.-%5D%2F'
          3        SEND_VAR                                                 !0
          4        DO_ICALL                                         $5      
          5        FETCH_LIST_R                                     $6      $5, 0
          6        ASSIGN                                                   !1, $6
          7        FETCH_LIST_R                                     $8      $5, 1
          8        ASSIGN                                                   !2, $8
          9        FETCH_LIST_R                                     $10     $5, 2
         10        ASSIGN                                                   !3, $10
         11        FREE                                                     $5
    4    12        ECHO                                                     !3
         13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
162.71 ms | 939 KiB | 16 Q