3v4l.org

run code in 300+ PHP versions simultaneously
<?php $queryReplace = "<span class=\"found\">".$query."</span>"; $descriptionContent = "Search the world's information, including webpages, images, videos and more. Google has many special features to help you find exactly what you're looking for."; $boldQuery = str_replace($query, $queryReplace, $descriptionContent); $queryInDescription = stristr($boldQuery, $query); echo $queryInDescription;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/i6cPC
function name:  (null)
number of ops:  17
compiled vars:  !0 = $queryReplace, !1 = $query, !2 = $descriptionContent, !3 = $boldQuery, !4 = $queryInDescription
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   CONCAT                                           ~5      '%3Cspan+class%3D%22found%22%3E', !1
          1        CONCAT                                           ~6      ~5, '%3C%2Fspan%3E'
          2        ASSIGN                                                   !0, ~6
    3     3        ASSIGN                                                   !2, 'Search+the+world%27s+information%2C+including+webpages%2C+images%2C+videos+and+more.+Google+has+many+special+features+to+help+you+find+exactly+what+you%27re+looking+for.'
    4     4        INIT_FCALL                                               'str_replace'
          5        SEND_VAR                                                 !1
          6        SEND_VAR                                                 !0
          7        SEND_VAR                                                 !2
          8        DO_ICALL                                         $9      
          9        ASSIGN                                                   !3, $9
    5    10        INIT_FCALL                                               'stristr'
         11        SEND_VAR                                                 !3
         12        SEND_VAR                                                 !1
         13        DO_ICALL                                         $11     
         14        ASSIGN                                                   !4, $11
    6    15        ECHO                                                     !4
         16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
159.92 ms | 1395 KiB | 17 Q