3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = range(-10, 10); $b = range(-10, 10, 0.2); $opResults = []; $funcResults = []; foreach($a as $_a) { foreach($b as $_b) { $opResults[] = $a ** $b; $funcResults[] = pow($a, $b); } } var_dump($opResults === $funcResults, $opResults, $funcResults);
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 14, Position 2 = 29
Branch analysis from position: 14
2 jumps found. (Code = 78) Position 1 = 15, Position 2 = 29
Branch analysis from position: 15
2 jumps found. (Code = 77) Position 1 = 16, Position 2 = 27
Branch analysis from position: 16
2 jumps found. (Code = 78) Position 1 = 17, Position 2 = 27
Branch analysis from position: 17
1 jumps found. (Code = 42) Position 1 = 16
Branch analysis from position: 16
Branch analysis from position: 27
1 jumps found. (Code = 42) Position 1 = 14
Branch analysis from position: 14
Branch analysis from position: 27
Branch analysis from position: 29
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 29
filename:       /in/vYqfp
function name:  (null)
number of ops:  37
compiled vars:  !0 = $a, !1 = $b, !2 = $opResults, !3 = $funcResults, !4 = $_a, !5 = $_b
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   INIT_FCALL                                               'range'
          1        SEND_VAL                                                 -10
          2        SEND_VAL                                                 10
          3        DO_ICALL                                         $6      
          4        ASSIGN                                                   !0, $6
    6     5        INIT_FCALL                                               'range'
          6        SEND_VAL                                                 -10
          7        SEND_VAL                                                 10
          8        SEND_VAL                                                 0.2
          9        DO_ICALL                                         $8      
         10        ASSIGN                                                   !1, $8
    8    11        ASSIGN                                                   !2, <array>
   10    12        ASSIGN                                                   !3, <array>
   12    13      > FE_RESET_R                                       $12     !0, ->29
         14    > > FE_FETCH_R                                               $12, !4, ->29
   13    15    > > FE_RESET_R                                       $13     !1, ->27
         16    > > FE_FETCH_R                                               $13, !5, ->27
   14    17    >   POW                                              ~15     !0, !1
         18        ASSIGN_DIM                                               !2
         19        OP_DATA                                                  ~15
   15    20        INIT_FCALL                                               'pow'
         21        SEND_VAR                                                 !0
         22        SEND_VAR                                                 !1
         23        DO_ICALL                                         $17     
         24        ASSIGN_DIM                                               !3
         25        OP_DATA                                                  $17
   13    26      > JMP                                                      ->16
         27    >   FE_FREE                                                  $13
   12    28      > JMP                                                      ->14
         29    >   FE_FREE                                                  $12
   19    30        INIT_FCALL                                               'var_dump'
         31        IS_IDENTICAL                                     ~18     !2, !3
         32        SEND_VAL                                                 ~18
         33        SEND_VAR                                                 !2
         34        SEND_VAR                                                 !3
         35        DO_ICALL                                                 
         36      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.99 ms | 1400 KiB | 19 Q