3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo "\n",decbin(12),"\n"; echo is_numeric(decbin(12))? 'true' : 'false'; echo "\n",bindec(decbin(12) + 1),"\n"; echo "\n0x",dechex(12),"\n"; echo is_numeric(dechex(12))? 'true' : 'false';
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 13, Position 2 = 15
Branch analysis from position: 13
1 jumps found. (Code = 42) Position 1 = 16
Branch analysis from position: 16
2 jumps found. (Code = 43) Position 1 = 40, Position 2 = 42
Branch analysis from position: 40
1 jumps found. (Code = 42) Position 1 = 43
Branch analysis from position: 43
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 42
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 15
2 jumps found. (Code = 43) Position 1 = 40, Position 2 = 42
Branch analysis from position: 40
Branch analysis from position: 42
filename:       /in/Gdumv
function name:  (null)
number of ops:  45
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ECHO                                                     '%0A'
          1        INIT_FCALL                                               'decbin'
          2        SEND_VAL                                                 12
          3        DO_ICALL                                         $0      
          4        ECHO                                                     $0
          5        ECHO                                                     '%0A'
    4     6        INIT_FCALL                                               'is_numeric'
          7        INIT_FCALL                                               'decbin'
          8        SEND_VAL                                                 12
          9        DO_ICALL                                         $1      
         10        SEND_VAR                                                 $1
         11        DO_ICALL                                         $2      
         12      > JMPZ                                                     $2, ->15
         13    >   QM_ASSIGN                                        ~3      'true'
         14      > JMP                                                      ->16
         15    >   QM_ASSIGN                                        ~3      'false'
         16    >   ECHO                                                     ~3
    5    17        ECHO                                                     '%0A'
         18        INIT_FCALL                                               'bindec'
         19        INIT_FCALL                                               'decbin'
         20        SEND_VAL                                                 12
         21        DO_ICALL                                         $4      
         22        ADD                                              ~5      $4, 1
         23        SEND_VAL                                                 ~5
         24        DO_ICALL                                         $6      
         25        ECHO                                                     $6
         26        ECHO                                                     '%0A'
    8    27        ECHO                                                     '%0A0x'
         28        INIT_FCALL                                               'dechex'
         29        SEND_VAL                                                 12
         30        DO_ICALL                                         $7      
         31        ECHO                                                     $7
         32        ECHO                                                     '%0A'
    9    33        INIT_FCALL                                               'is_numeric'
         34        INIT_FCALL                                               'dechex'
         35        SEND_VAL                                                 12
         36        DO_ICALL                                         $8      
         37        SEND_VAR                                                 $8
         38        DO_ICALL                                         $9      
         39      > JMPZ                                                     $9, ->42
         40    >   QM_ASSIGN                                        ~10     'true'
         41      > JMP                                                      ->43
         42    >   QM_ASSIGN                                        ~10     'false'
         43    >   ECHO                                                     ~10
         44      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
146.36 ms | 1400 KiB | 21 Q