3v4l.org

run code in 300+ PHP versions simultaneously
<?php //var_dump(strpos('º', "\xC2")); $pos = strpos("2 équer orient 90 # rail distribut", "\xC2"); echo $pos;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/m01kd
function name:  (null)
number of ops:  7
compiled vars:  !0 = $pos
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   INIT_FCALL                                               'strpos'
          1        SEND_VAL                                                 '2+%C3%A9quer+orient+90+%23+rail+distribut'
          2        SEND_VAL                                                 '%C2'
          3        DO_ICALL                                         $1      
          4        ASSIGN                                                   !0, $1
    6     5        ECHO                                                     !0
          6      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.58 ms | 1393 KiB | 15 Q