3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = "fecha: ".(new \DateTime())->format('Y-m-d H:i:s'); echo $a; echo (new \DateTime())->format('Y-m-d H:i:s');
Finding entry points
Branch analysis from position: 0
Jump found. Position 1 = -2
filename:       /in/UBeTs
function name:  (null)
number of ops:  15
compiled vars:  !0 = $a
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   2     0  E >   NEW                                              $1      :-6
         1        DO_FCALL                                      0          
         2        INIT_METHOD_CALL                                         $1, 'format'
         3        SEND_VAL_EX                                              'Y-m-d+H%3Ai%3As'
         4        DO_FCALL                                      0  $3      
         5        CONCAT                                           ~4      'fecha%3A+', $3
         6        ASSIGN                                                   !0, ~4
   3     7        ECHO                                                     !0
   4     8        NEW                                              $6      :0
         9        DO_FCALL                                      0          
        10        INIT_METHOD_CALL                                         $6, 'format'
        11        SEND_VAL_EX                                              'Y-m-d+H%3Ai%3As'
        12        DO_FCALL                                      0  $8      
        13        ECHO                                                     $8
        14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 7.3.0