3v4l.org

run code in 300+ PHP versions simultaneously
<?php $myurl = "http://www.geoplugin.net/currency_converter.gp?from=EUR&to=TND&amount=1"; if ($dh = fopen("$myurl",'r')) echo "bonjour"; else echo "NOT GOOD"; ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 8, Position 2 = 10
Branch analysis from position: 8
1 jumps found. (Code = 42) Position 1 = 11
Branch analysis from position: 11
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 10
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/9gBvg
function name:  (null)
number of ops:  12
compiled vars:  !0 = $myurl, !1 = $dh
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'http%3A%2F%2Fwww.geoplugin.net%2Fcurrency_converter.gp%3Ffrom%3DEUR%26to%3DTND%26amount%3D1'
    6     1        INIT_FCALL                                               'fopen'
          2        CAST                                          6  ~3      !0
          3        SEND_VAL                                                 ~3
          4        SEND_VAL                                                 'r'
          5        DO_ICALL                                         $4      
          6        ASSIGN                                           ~5      !1, $4
          7      > JMPZ                                                     ~5, ->10
    7     8    >   ECHO                                                     'bonjour'
          9      > JMP                                                      ->11
    9    10    >   ECHO                                                     'NOT++GOOD'
   11    11    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
165.58 ms | 1394 KiB | 15 Q