3v4l.org

run code in 300+ PHP versions simultaneously
<?php $value = '+31'; $values = array('31'); var_dump(in_array("$value", $values)); // true
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/39bNj
function name:  (null)
number of ops:  11
compiled vars:  !0 = $value, !1 = $values
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '%2B31'
    5     1        ASSIGN                                                   !1, <array>
    7     2        INIT_FCALL                                               'var_dump'
          3        INIT_FCALL                                               'in_array'
          4        CAST                                          6  ~4      !0
          5        SEND_VAL                                                 ~4
          6        SEND_VAR                                                 !1
          7        DO_ICALL                                         $5      
          8        SEND_VAR                                                 $5
          9        DO_ICALL                                                 
         10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
186.93 ms | 1394 KiB | 17 Q