3v4l.org

run code in 300+ PHP versions simultaneously
<?php $oct = 0770; var_dump($oct, octdec($oct), decoct(octdec($oct))); var_dump(decoct(octdec($oct)) === $oct);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/OA8X1
function name:  (null)
number of ops:  26
compiled vars:  !0 = $oct
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 504
    4     1        INIT_FCALL                                               'var_dump'
          2        SEND_VAR                                                 !0
          3        INIT_FCALL                                               'octdec'
          4        SEND_VAR                                                 !0
          5        DO_ICALL                                         $2      
          6        SEND_VAR                                                 $2
          7        INIT_FCALL                                               'decoct'
          8        INIT_FCALL                                               'octdec'
          9        SEND_VAR                                                 !0
         10        DO_ICALL                                         $3      
         11        SEND_VAR                                                 $3
         12        DO_ICALL                                         $4      
         13        SEND_VAR                                                 $4
         14        DO_ICALL                                                 
    5    15        INIT_FCALL                                               'var_dump'
         16        INIT_FCALL                                               'decoct'
         17        INIT_FCALL                                               'octdec'
         18        SEND_VAR                                                 !0
         19        DO_ICALL                                         $6      
         20        SEND_VAR                                                 $6
         21        DO_ICALL                                         $7      
         22        IS_IDENTICAL                                     ~8      !0, $7
         23        SEND_VAL                                                 ~8
         24        DO_ICALL                                                 
         25      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.69 ms | 1395 KiB | 19 Q