3v4l.org

run code in 300+ PHP versions simultaneously
<?php $obecna = new DateTime (); $roznica = $obecna->diff ( new DateTime ( '1995-02-06')); printf("wiek %d \n", $roznica->y); print_r ($roznica) ; // tam masz publiczna zmienna y inf o wieku...
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/eYP1A
function name:  (null)
number of ops:  19
compiled vars:  !0 = $obecna, !1 = $roznica
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   NEW                                              $2      'DateTime'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $2
    3     3        INIT_METHOD_CALL                                         !0, 'diff'
          4        NEW                                              $5      'DateTime'
          5        SEND_VAL_EX                                              '1995-02-06'
          6        DO_FCALL                                      0          
          7        SEND_VAR_NO_REF_EX                                       $5
          8        DO_FCALL                                      0  $7      
          9        ASSIGN                                                   !1, $7
    4    10        INIT_FCALL                                               'printf'
         11        SEND_VAL                                                 'wiek+%25d+%0A'
         12        FETCH_OBJ_R                                      ~9      !1, 'y'
         13        SEND_VAL                                                 ~9
         14        DO_ICALL                                                 
    5    15        INIT_FCALL                                               'print_r'
         16        SEND_VAR                                                 !1
         17        DO_ICALL                                                 
         18      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.26 ms | 1394 KiB | 17 Q