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 . " "; } $arr=asort($arr); echo $arr[0]; return $n; } dd(10); //echo dd(1); //echo (101+dd(1000)+dd(100)+dd(119)+dd(97)+dd(110)+dd(103)+dd(111)+260277)%4294967296;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/7Qi68
function name:  (null)
number of ops:  4
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   22     0  E >   INIT_FCALL                                               'dd'
          1        SEND_VAL                                                 10
          2        DO_FCALL                                      0          
   24     3      > 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/7Qi68
function name:  dd
number of ops:  30
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
   18    22    >   INIT_FCALL                                               'asort'
         23        SEND_REF                                                 !1
         24        DO_ICALL                                         $20     
         25        ASSIGN                                                   !1, $20
   19    26        FETCH_DIM_R                                      ~22     !1, 0
         27        ECHO                                                     ~22
   20    28      > RETURN                                                   !3
   21    29*     > RETURN                                                   null

End of function dd

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
174.61 ms | 1407 KiB | 18 Q