3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.42 ms | 1398 KiB | 15 Q