3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string1 = 'Lenovo Essential B5400 - Ordenador portátil de 15.6" (Intel i5-4200M 2.5 GHz, RAM de 4 GB DDR3, disco duro de 500 GB, Intel HD Graphics 4600, Windows 8.1 64-bit) negro'; var_dump(mb_strpos($string1, ' - '));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/AhduU
function name:  (null)
number of ops:  9
compiled vars:  !0 = $string1
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'Lenovo+Essential+B5400+-+Ordenador+port%C3%A1til+de+15.6%22+%28Intel+i5-4200M+2.5+GHz%2C+RAM+de+4+GB+DDR3%2C+disco+duro+de+500+GB%2C+Intel+HD+Graphics+4600%2C+Windows+8.1+64-bit%29+negro'
    4     1        INIT_FCALL                                               'var_dump'
          2        INIT_FCALL                                               'mb_strpos'
          3        SEND_VAR                                                 !0
          4        SEND_VAL                                                 '+-+'
          5        DO_ICALL                                         $2      
          6        SEND_VAR                                                 $2
          7        DO_ICALL                                                 
          8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
164.92 ms | 1398 KiB | 17 Q