3v4l.org

run code in 300+ PHP versions simultaneously
<?php DateTimeImmutable::createFromMutable(new DateTime); DateTimeImmutable::createFromMutable(new DateTimeImmutable);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/qNCvl
function name:  (null)
number of ops:  11
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_STATIC_METHOD_CALL                                  'DateTimeImmutable', 'createFromMutable'
          1        NEW                                              $0      'DateTime'
          2        DO_FCALL                                      0          
          3        SEND_VAR                                                 $0
          4        DO_FCALL                                      0          
    4     5        INIT_STATIC_METHOD_CALL                                  'DateTimeImmutable', 'createFromMutable'
          6        NEW                                              $3      'DateTimeImmutable'
          7        DO_FCALL                                      0          
          8        SEND_VAR                                                 $3
          9        DO_FCALL                                      0          
         10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.58 ms | 1397 KiB | 13 Q