3v4l.org

run code in 300+ PHP versions simultaneously
<?php foreach (explode(', ', '1, 4, 9, 16, 25, 36, 49, 64, 81, 100, 121, 144, 169, 196, 225') as $num) { settype($num, 'integer'); echo decbin($num).PHP_EOL; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 5, Position 2 = 16
Branch analysis from position: 5
2 jumps found. (Code = 78) Position 1 = 6, Position 2 = 16
Branch analysis from position: 6
1 jumps found. (Code = 42) Position 1 = 5
Branch analysis from position: 5
Branch analysis from position: 16
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 16
filename:       /in/ccKME
function name:  (null)
number of ops:  18
compiled vars:  !0 = $num
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'explode'
          1        SEND_VAL                                                 '%2C+'
          2        SEND_VAL                                                 '1%2C+4%2C+9%2C+16%2C+25%2C+36%2C+49%2C+64%2C+81%2C+100%2C+121%2C+144%2C+169%2C+196%2C+225'
          3        DO_ICALL                                         $1      
          4      > FE_RESET_R                                       $2      $1, ->16
          5    > > FE_FETCH_R                                               $2, !0, ->16
    4     6    >   INIT_FCALL                                               'settype'
          7        SEND_REF                                                 !0
          8        SEND_VAL                                                 'integer'
          9        DO_ICALL                                                 
    5    10        INIT_FCALL                                               'decbin'
         11        SEND_VAR                                                 !0
         12        DO_ICALL                                         $4      
         13        CONCAT                                           ~5      $4, '%0A'
         14        ECHO                                                     ~5
    3    15      > JMP                                                      ->5
         16    >   FE_FREE                                                  $2
    6    17      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
160.8 ms | 1395 KiB | 19 Q