3v4l.org

run code in 300+ PHP versions simultaneously
<?php $argv[1] = "-00010.1"; if('-'==($_=$argv[1])[0])$s=1&&$_[0]=0; print $_; print $s; exit;
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 7, Position 2 = 11
Branch analysis from position: 7
1 jumps found. (Code = 79) Position 1 = -2
Branch analysis from position: 11
filename:       /in/tlTVF
function name:  (null)
number of ops:  15
compiled vars:  !0 = $argv, !1 = $_, !2 = $s
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN_DIM                                               !0, 1
          1        OP_DATA                                                  '-00010.1'
    5     2        FETCH_DIM_R                                      ~4      !0, 1
          3        ASSIGN                                           ~5      !1, ~4
          4        FETCH_DIM_R                                      ~6      ~5, 0
          5        IS_EQUAL                                                 ~6, '-'
          6      > JMPZ                                                     ~7, ->11
          7    >   ASSIGN_DIM                                       ~8      !1, 0
          8        OP_DATA                                                  0
          9        BOOL                                             ~9      ~8
         10        ASSIGN                                                   !2, ~9
    7    11    >   ECHO                                                     !1
    8    12        ECHO                                                     !2
    9    13      > EXIT                                                     
         14*     > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.22 ms | 1393 KiB | 13 Q