3v4l.org

run code in 300+ PHP versions simultaneously
<?php //$arr=array(101); function dd($param){ $arr=array(101); $dev = 4294967296; //echo $dev . "\n"; $n =101; for ($i =1;$i<$param+1;$i++){ $temp=$n*2525+5252; while($temp>=$dev){ $temp-=$dev; } $n=$temp; array_push($arr, $n); //echo $i . " "; } //asort($arr); //echo $arr[500]; return $n; } echo (101+dd(1000)+dd(100)+dd(119)+dd(97)+dd(110)+dd(103)+dd(111)+2857135909)%4294967296;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/O8Am4
function name:  (null)
number of ops:  32
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   22     0  E >   INIT_FCALL                                               'dd'
          1        SEND_VAL                                                 1000
          2        DO_FCALL                                      0  $0      
          3        ADD                                              ~1      101, $0
          4        INIT_FCALL                                               'dd'
          5        SEND_VAL                                                 100
          6        DO_FCALL                                      0  $2      
          7        ADD                                              ~3      ~1, $2
          8        INIT_FCALL                                               'dd'
          9        SEND_VAL                                                 119
         10        DO_FCALL                                      0  $4      
         11        ADD                                              ~5      ~3, $4
         12        INIT_FCALL                                               'dd'
         13        SEND_VAL                                                 97
         14        DO_FCALL                                      0  $6      
         15        ADD                                              ~7      ~5, $6
         16        INIT_FCALL                                               'dd'
         17        SEND_VAL                                                 110
         18        DO_FCALL                                      0  $8      
         19        ADD                                              ~9      ~7, $8
         20        INIT_FCALL                                               'dd'
         21        SEND_VAL                                                 103
         22        DO_FCALL                                      0  $10     
         23        ADD                                              ~11     ~9, $10
         24        INIT_FCALL                                               'dd'
         25        SEND_VAL                                                 111
         26        DO_FCALL                                      0  $12     
         27        ADD                                              ~13     ~11, $12
         28        ADD                                              ~14     ~13, 2857135909
         29        MOD                                              ~15     ~14, 4294967296
         30        ECHO                                                     ~15
         31      > RETURN                                                   1

Function dd:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 19
Branch analysis from position: 19
2 jumps found. (Code = 44) Position 1 = 22, Position 2 = 6
Branch analysis from position: 22
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 6
1 jumps found. (Code = 42) Position 1 = 11
Branch analysis from position: 11
2 jumps found. (Code = 44) Position 1 = 13, Position 2 = 10
Branch analysis from position: 13
2 jumps found. (Code = 44) Position 1 = 22, Position 2 = 6
Branch analysis from position: 22
Branch analysis from position: 6
Branch analysis from position: 10
2 jumps found. (Code = 44) Position 1 = 13, Position 2 = 10
Branch analysis from position: 13
Branch analysis from position: 10
filename:       /in/O8Am4
function name:  dd
number of ops:  24
compiled vars:  !0 = $param, !1 = $arr, !2 = $dev, !3 = $n, !4 = $i, !5 = $temp
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   RECV                                             !0      
    5     1        ASSIGN                                                   !1, <array>
    6     2        ASSIGN                                                   !2, 4294967296
    8     3        ASSIGN                                                   !3, 101
    9     4        ASSIGN                                                   !4, 1
          5      > JMP                                                      ->19
   10     6    >   MUL                                              ~10     !3, 2525
          7        ADD                                              ~11     ~10, 5252
          8        ASSIGN                                                   !5, ~11
   11     9      > JMP                                                      ->11
   12    10    >   ASSIGN_OP                                     2          !5, !2
   11    11    >   IS_SMALLER_OR_EQUAL                                      !2, !5
         12      > JMPNZ                                                    ~14, ->10
   14    13    >   ASSIGN                                                   !3, !5
   15    14        INIT_FCALL                                               'array_push'
         15        SEND_REF                                                 !1
         16        SEND_VAR                                                 !3
         17        DO_ICALL                                                 
    9    18        PRE_INC                                                  !4
         19    >   ADD                                              ~18     !0, 1
         20        IS_SMALLER                                               !4, ~18
         21      > JMPNZ                                                    ~19, ->6
   20    22    > > RETURN                                                   !3
   21    23*     > RETURN                                                   null

End of function dd

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
164.1 ms | 1394 KiB | 22 Q