3v4l.org

run code in 300+ PHP versions simultaneously
<?php $value = 1.1; print(gettype($value) . "\n"); print(is_float($value) . "\n"); print(is_double($value));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/QffF0
function name:  (null)
number of ops:  10
compiled vars:  !0 = $value
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 1.1
    4     1        GET_TYPE                                         ~2      !0
          2        CONCAT                                           ~3      ~2, '%0A'
          3        ECHO                                                     ~3
    5     4        TYPE_CHECK                                   32  ~4      !0
          5        CONCAT                                           ~5      ~4, '%0A'
          6        ECHO                                                     ~5
    6     7        TYPE_CHECK                                   32  ~6      !0
          8        ECHO                                                     ~6
          9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
133.76 ms | 1392 KiB | 13 Q