3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $count = 0; if(is_callable("posix_getpwuid")){ while($count < 9000) { $stuff = posix_getpwuid($count); if($stuff != NULL) { extract($stuff); echo "$name:$passwd:$uid:$gid:$gecos:$dir:$shell\n"; } $count = $count + 1; } }
Finding entry points
Branch analysis from position: 0
Jump found. Position 1 = 5, Position 2 = 34
Branch analysis from position: 5
Jump found. Position 1 = 32
Branch analysis from position: 32
Jump found. Position 1 = 34, Position 2 = 6
Branch analysis from position: 34
Jump found. Position 1 = -2
Branch analysis from position: 6
Jump found. Position 1 = 12, Position 2 = 30
Branch analysis from position: 12
Jump found. Position 1 = 34, Position 2 = 6
Branch analysis from position: 34
Branch analysis from position: 6
Branch analysis from position: 30
Branch analysis from position: 34
filename:       /in/QeOLZ
function name:  (null)
number of ops:  35
compiled vars:  !0 = $count, !1 = $stuff, !2 = $name, !3 = $passwd, !4 = $uid, !5 = $gid, !6 = $gecos, !7 = $dir, !8 = $shell
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   2     0  E >   ASSIGN                                                   !0, 0
   4     1        INIT_FCALL                                               'is_callable'
         2        SEND_VAL                                                 'posix_getpwuid'
         3        DO_ICALL                                         $10     
         4      > JMPZ                                                     $10, ->34
   5     5    > > JMP                                                      ->32
   6     6    >   INIT_FCALL                                               'posix_getpwuid'
         7        SEND_VAR                                                 !0
         8        DO_ICALL                                         $11     
         9        ASSIGN                                                   !1, $11
   7    10        IS_NOT_EQUAL                                     ~13     !1, null
        11      > JMPZ                                                     ~13, ->30
   8    12    >   INIT_FCALL                                               'extract'
        13        SEND_REF                                                 !1
        14        DO_ICALL                                                 
   9    15        ROPE_INIT                                    14  ~16     !2
        16        ROPE_ADD                                      1  ~16     ~16, '%3A'
        17        ROPE_ADD                                      2  ~16     ~16, !3
        18        ROPE_ADD                                      3  ~16     ~16, '%3A'
        19        ROPE_ADD                                      4  ~16     ~16, !4
        20        ROPE_ADD                                      5  ~16     ~16, '%3A'
        21        ROPE_ADD                                      6  ~16     ~16, !5
        22        ROPE_ADD                                      7  ~16     ~16, '%3A'
        23        ROPE_ADD                                      8  ~16     ~16, !6
        24        ROPE_ADD                                      9  ~16     ~16, '%3A'
        25        ROPE_ADD                                     10  ~16     ~16, !7
        26        ROPE_ADD                                     11  ~16     ~16, '%3A'
        27        ROPE_ADD                                     12  ~16     ~16, !8
        28        ROPE_END                                     13  ~15     ~16, '%0A'
        29        ECHO                                                     ~15
  11    30    >   ADD                                              ~23     !0, 1
        31        ASSIGN                                                   !0, ~23
   5    32    >   IS_SMALLER                                       ~25     !0, 9000
        33      > JMPNZ                                                    ~25, ->6
        34    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 7.2.0