3v4l.org

run code in 300+ PHP versions simultaneously
<?php $int="11lol"; if (!isint($int)) { intval($int); echo $int." is fixed."; } ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 6, Position 2 = 10
Branch analysis from position: 6
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 10
filename:       /in/72m6C
function name:  (null)
number of ops:  11
compiled vars:  !0 = $int
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '11lol'
    4     1        INIT_FCALL_BY_NAME                                       'isint'
          2        SEND_VAR_EX                                              !0
          3        DO_FCALL                                      0  $2      
          4        BOOL_NOT                                         ~3      $2
          5      > JMPZ                                                     ~3, ->10
    5     6    >   CAST                                          4  ~4      !0
          7        FREE                                                     ~4
    6     8        CONCAT                                           ~5      !0, '+is+fixed.'
          9        ECHO                                                     ~5
    8    10    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
146.82 ms | 1393 KiB | 13 Q