3v4l.org

run code in 300+ PHP versions simultaneously
<?php $url = 'http://scholar.google.com/scholar?q=honors+college&amp;hl=en&amp;btnG=Search& amp;as_sdt=1%2C4&amp;as_sdtp=on'; $needle = 'Import into bibtex'; $contents = file_get_contents($url); echo $contents; if(strpos($contents, $needle)!== false) { echo 'found'; } else { echo 'not found'; } ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 13, Position 2 = 15
Branch analysis from position: 13
1 jumps found. (Code = 42) Position 1 = 16
Branch analysis from position: 16
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 15
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/iX2R8
function name:  (null)
number of ops:  17
compiled vars:  !0 = $url, !1 = $needle, !2 = $contents
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'http%3A%2F%2Fscholar.google.com%2Fscholar%3Fq%3Dhonors%2Bcollege%26amp%3Bhl%3Den%26amp%3BbtnG%3DSearch%26+++++amp%3Bas_sdt%3D1%252C4%26amp%3Bas_sdtp%3Don'
    3     1        ASSIGN                                                   !1, 'Import+into+bibtex'
    4     2        INIT_FCALL                                               'file_get_contents'
          3        SEND_VAR                                                 !0
          4        DO_ICALL                                         $5      
          5        ASSIGN                                                   !2, $5
    5     6        ECHO                                                     !2
    6     7        INIT_FCALL                                               'strpos'
          8        SEND_VAR                                                 !2
          9        SEND_VAR                                                 !1
         10        DO_ICALL                                         $7      
         11        TYPE_CHECK                                  1018          $7
         12      > JMPZ                                                     ~8, ->15
    7    13    >   ECHO                                                     'found'
         14      > JMP                                                      ->16
    9    15    >   ECHO                                                     'not+found'
   11    16    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
142.23 ms | 1386 KiB | 17 Q