3v4l.org

run code in 300+ PHP versions simultaneously
<?php $request = []; $title = null; $lang = null; var_dump(strpos($title,$lang)); $title = 'i have a lang'; $lang = 'lang'; var_dump(strpos($title,$lang));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/cgYmY
function name:  (null)
number of ops:  20
compiled vars:  !0 = $request, !1 = $title, !2 = $lang
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    4     1        ASSIGN                                                   !1, null
    5     2        ASSIGN                                                   !2, null
    7     3        INIT_FCALL                                               'var_dump'
          4        INIT_FCALL                                               'strpos'
          5        SEND_VAR                                                 !1
          6        SEND_VAR                                                 !2
          7        DO_ICALL                                         $6      
          8        SEND_VAR                                                 $6
          9        DO_ICALL                                                 
    9    10        ASSIGN                                                   !1, 'i+have+a+lang'
   10    11        ASSIGN                                                   !2, 'lang'
   12    12        INIT_FCALL                                               'var_dump'
         13        INIT_FCALL                                               'strpos'
         14        SEND_VAR                                                 !1
         15        SEND_VAR                                                 !2
         16        DO_ICALL                                         $10     
         17        SEND_VAR                                                 $10
         18        DO_ICALL                                                 
         19      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
205 ms | 1395 KiB | 17 Q