3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $dateStart = '2016-12-31'; list($yS, $mS, $dS) = split('[/.-]', $dateStart); echo $dS;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ZhVRX
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-12-31'
   3     1        INIT_FCALL_BY_NAME                                       'split'
         2        SEND_VAL_EX                                              '%5B%2F.-%5D'
         3        SEND_VAR_EX                                              !0
         4        DO_FCALL                                      0  $5      
         5        FETCH_LIST                                       $6      $5, 0
         6        ASSIGN                                                   !1, $6
         7        FETCH_LIST                                       $8      $5, 1
         8        ASSIGN                                                   !2, $8
         9        FETCH_LIST                                       $10     $5, 2
        10        ASSIGN                                                   !3, $10
        11        FREE                                                     $5
   4    12        ECHO                                                     !3
        13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 7.3.0