3v4l.org

run code in 300+ PHP versions simultaneously
<?php $date = '10/2014'; list($month, $year) = explode("/", $date); echo 'Month: '.$month."\n"; echo 'Year: '.$year; ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/rQY7g
function name:  (null)
number of ops:  16
compiled vars:  !0 = $date, !1 = $month, !2 = $year
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '10%2F2014'
    3     1        INIT_FCALL                                               'explode'
          2        SEND_VAL                                                 '%2F'
          3        SEND_VAR                                                 !0
          4        DO_ICALL                                         $4      
          5        FETCH_LIST_R                                     $5      $4, 0
          6        ASSIGN                                                   !1, $5
          7        FETCH_LIST_R                                     $7      $4, 1
          8        ASSIGN                                                   !2, $7
          9        FREE                                                     $4
    4    10        CONCAT                                           ~9      'Month%3A+', !1
         11        CONCAT                                           ~10     ~9, '%0A'
         12        ECHO                                                     ~10
    5    13        CONCAT                                           ~11     'Year%3A+', !2
         14        ECHO                                                     ~11
    6    15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
172.03 ms | 1435 KiB | 14 Q