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 = 8
Branch analysis from position: 7
1 jumps found. (Code = 79) Position 1 = -2
Branch analysis from position: 8
filename:       /in/GSsLE
function name:  (null)
number of ops:  12
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, ->8
          7    >   ASSIGN                                                   !2, <true>
    7     8    >   ECHO                                                     !1
    8     9        ECHO                                                     !2
    9    10      > EXIT                                                     
         11*     > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
173.6 ms | 1397 KiB | 13 Q