3v4l.org

run code in 300+ PHP versions simultaneously
<?php $d = Datetime::createFromFormat("99-99-9999","j-n-Y"); var_dump($d); var_dump(serialize($d));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/prhvc
function name:  (null)
number of ops:  15
compiled vars:  !0 = $d
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_STATIC_METHOD_CALL                                  'Datetime', 'createFromFormat'
          1        SEND_VAL                                                 '99-99-9999'
          2        SEND_VAL                                                 'j-n-Y'
          3        DO_FCALL                                      0  $1      
          4        ASSIGN                                                   !0, $1
    4     5        INIT_FCALL                                               'var_dump'
          6        SEND_VAR                                                 !0
          7        DO_ICALL                                                 
    5     8        INIT_FCALL                                               'var_dump'
          9        INIT_FCALL                                               'serialize'
         10        SEND_VAR                                                 !0
         11        DO_ICALL                                         $4      
         12        SEND_VAR                                                 $4
         13        DO_ICALL                                                 
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
170.95 ms | 1394 KiB | 17 Q