3v4l.org

run code in 300+ PHP versions simultaneously
<?php return (function () { // Local variables (not exported) $current_time = time(); $reference_time = '01-01-1970 00:00'; return "seconds passed since $reference_time GMT is $current_time"; })();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/K716N
function name:  (null)
number of ops:  5
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   DECLARE_LAMBDA_FUNCTION                          ~0      [0]
    9     1        INIT_DYNAMIC_CALL                                        ~0
          2        DO_FCALL                                      0  $1      
          3      > RETURN                                                   $1
          4*     > RETURN                                                   1


Dynamic Functions:
Dynamic Function 0
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/K716N
function name:  {closure}
number of ops:  10
compiled vars:  !0 = $current_time, !1 = $reference_time
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   INIT_FCALL                                               'time'
          1        DO_ICALL                                         $2      
          2        ASSIGN                                                   !0, $2
    6     3        ASSIGN                                                   !1, '01-01-1970+00%3A00'
    8     4        ROPE_INIT                                     4  ~6      'seconds+passed+since+'
          5        ROPE_ADD                                      1  ~6      ~6, !1
          6        ROPE_ADD                                      2  ~6      ~6, '+GMT+is+'
          7        ROPE_END                                      3  ~5      ~6, !0
          8      > RETURN                                                   ~5
    9     9*     > RETURN                                                   null

End of Dynamic Function 0

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
146 ms | 1009 KiB | 14 Q