3v4l.org

run code in 300+ PHP versions simultaneously
<?php $temp = 1900; $temp2 = '+' . $temp; var_dump((double)$temp2); if (is_string($temp2)) {echo 'true';}
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 9, Position 2 = 10
Branch analysis from position: 9
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 10
filename:       /in/0TDSA
function name:  (null)
number of ops:  11
compiled vars:  !0 = $temp, !1 = $temp2
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 1900
    3     1        CONCAT                                           ~3      '%2B', !0
          2        ASSIGN                                                   !1, ~3
    5     3        INIT_FCALL                                               'var_dump'
          4        CAST                                          5  ~5      !1
          5        SEND_VAL                                                 ~5
          6        DO_ICALL                                                 
    7     7        TYPE_CHECK                                   64          !1
          8      > JMPZ                                                     ~7, ->10
          9    >   ECHO                                                     'true'
         10    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
160.51 ms | 1394 KiB | 15 Q