3v4l.org

run code in 300+ PHP versions simultaneously
<?php $date = DateTime::createFromFormat("Y-m-d H:i:s", '2017-07-04 16:26:43'); echo $date;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/WcRS9
function name:  (null)
number of ops:  7
compiled vars:  !0 = $date
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_STATIC_METHOD_CALL                                  'DateTime', 'createFromFormat'
          1        SEND_VAL                                                 'Y-m-d+H%3Ai%3As'
          2        SEND_VAL                                                 '2017-07-04+16%3A26%3A43'
          3        DO_FCALL                                      0  $1      
          4        ASSIGN                                                   !0, $1
    4     5        ECHO                                                     !0
          6      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
164.54 ms | 1392 KiB | 13 Q