3v4l.org

run code in 300+ PHP versions simultaneously
<?php $id = false; $now = time(); $id || $data['created'] = $now; var_dump($id, $data);
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 47) Position 1 = 5, Position 2 = 8
Branch analysis from position: 5
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 8
filename:       /in/le7Tg
function name:  (null)
number of ops:  13
compiled vars:  !0 = $id, !1 = $now, !2 = $data
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <false>
    4     1        INIT_FCALL                                               'time'
          2        DO_ICALL                                         $4      
          3        ASSIGN                                                   !1, $4
    6     4      > JMPNZ_EX                                         ~6      !0, ->8
          5    >   ASSIGN_DIM                                       ~7      !2, 'created'
          6        OP_DATA                                                  !1
          7        BOOL                                             ~6      ~7
    8     8    >   INIT_FCALL                                               'var_dump'
          9        SEND_VAR                                                 !0
         10        SEND_VAR                                                 !2
         11        DO_ICALL                                                 
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.25 ms | 1394 KiB | 17 Q