3v4l.org

run code in 300+ PHP versions simultaneously
<?php for ( $q =0; $q < 1000; ++$q ) { $a[] = array('id' => '' . mt_rand(1, 9999), 'sender_id' => '' . mt_rand(1, 999999999999), 'time' => '' . time()); }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 21
Branch analysis from position: 21
2 jumps found. (Code = 44) Position 1 = 23, Position 2 = 2
Branch analysis from position: 23
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 2
2 jumps found. (Code = 44) Position 1 = 23, Position 2 = 2
Branch analysis from position: 23
Branch analysis from position: 2
filename:       /in/DDZbs
function name:  (null)
number of ops:  24
compiled vars:  !0 = $q, !1 = $a
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 0
          1      > JMP                                                      ->21
    4     2    >   INIT_FCALL                                               'mt_rand'
          3        SEND_VAL                                                 1
          4        SEND_VAL                                                 9999
          5        DO_ICALL                                         $4      
          6        CONCAT                                           ~5      '', $4
          7        INIT_ARRAY                                       ~6      ~5, 'id'
          8        INIT_FCALL                                               'mt_rand'
          9        SEND_VAL                                                 1
         10        SEND_VAL                                                 999999999999
         11        DO_ICALL                                         $7      
         12        CONCAT                                           ~8      '', $7
         13        ADD_ARRAY_ELEMENT                                ~6      ~8, 'sender_id'
         14        INIT_FCALL                                               'time'
         15        DO_ICALL                                         $9      
         16        CONCAT                                           ~10     '', $9
         17        ADD_ARRAY_ELEMENT                                ~6      ~10, 'time'
         18        ASSIGN_DIM                                               !1
         19        OP_DATA                                                  ~6
    3    20        PRE_INC                                                  !0
         21    >   IS_SMALLER                                               !0, 1000
         22      > JMPNZ                                                    ~12, ->2
    5    23    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.14 ms | 1399 KiB | 17 Q