3v4l.org

run code in 300+ PHP versions simultaneously
<?php $value = new stdClass(); $x = (! is_object($value) && (string)(int)$value === (string)$value && $value >= 0); var_dump($x);
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 46) Position 1 = 6, Position 2 = 11
Branch analysis from position: 6
2 jumps found. (Code = 46) Position 1 = 12, Position 2 = 14
Branch analysis from position: 12
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 14
Branch analysis from position: 11
filename:       /in/VKBZs
function name:  (null)
number of ops:  19
compiled vars:  !0 = $value, !1 = $x
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   NEW                                              $2      'stdClass'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $2
    5     3        TYPE_CHECK                                  256  ~5      !0
          4        BOOL_NOT                                         ~6      ~5
          5      > JMPZ_EX                                          ~6      ~6, ->11
          6    >   CAST                                          4  ~7      !0
          7        CAST                                          6  ~8      ~7
          8        CAST                                          6  ~9      !0
          9        IS_IDENTICAL                                     ~10     ~8, ~9
         10        BOOL                                             ~6      ~10
         11    > > JMPZ_EX                                          ~6      ~6, ->14
         12    >   IS_SMALLER_OR_EQUAL                              ~11     0, !0
         13        BOOL                                             ~6      ~11
         14    >   ASSIGN                                                   !1, ~6
    8    15        INIT_FCALL                                               'var_dump'
         16        SEND_VAR                                                 !1
         17        DO_ICALL                                                 
         18      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
159.87 ms | 1395 KiB | 15 Q