3v4l.org

run code in 300+ PHP versions simultaneously
<?php if( !$contenu = fopen ( 'http://re.jrc.ec.europa.eu/pvgis/apps4/PVcalc.php?lat=44.0333&lon=5.2&peakpower=1&region=europe&pvtechchoice=crystSi&loss=10&optimalinclination=1&optimalangles=1&mountingplace=building&raddatabase=PVGIS-CMSAF', 'r' ) ) echo "mama"; else { while ( !feof( $contenu ) ) : $ligne = fgets($contenu, 4096); $donnees[] = $ligne; endwhile; $lignePvgis = explode("\t\t", $donnees[20]); echo $lignePvgis; $pvgis = intval($lignePvgis[2])*12; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 7, Position 2 = 9
Branch analysis from position: 7
1 jumps found. (Code = 42) Position 1 = 33
Branch analysis from position: 33
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 9
1 jumps found. (Code = 42) Position 1 = 17
Branch analysis from position: 17
2 jumps found. (Code = 44) Position 1 = 22, Position 2 = 10
Branch analysis from position: 22
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 10
2 jumps found. (Code = 44) Position 1 = 22, Position 2 = 10
Branch analysis from position: 22
Branch analysis from position: 10
filename:       /in/duhKU
function name:  (null)
number of ops:  34
compiled vars:  !0 = $contenu, !1 = $ligne, !2 = $donnees, !3 = $lignePvgis, !4 = $pvgis
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'fopen'
          1        SEND_VAL                                                 'http%3A%2F%2Fre.jrc.ec.europa.eu%2Fpvgis%2Fapps4%2FPVcalc.php%3Flat%3D44.0333%26lon%3D5.2%26peakpower%3D1%26region%3Deurope%26pvtechchoice%3DcrystSi%26loss%3D10%26optimalinclination%3D1%26optimalangles%3D1%26mountingplace%3Dbuilding%26raddatabase%3DPVGIS-CMSAF'
          2        SEND_VAL                                                 'r'
          3        DO_ICALL                                         $5      
          4        ASSIGN                                           ~6      !0, $5
          5        BOOL_NOT                                         ~7      ~6
          6      > JMPZ                                                     ~7, ->9
    3     7    >   ECHO                                                     'mama'
          8      > JMP                                                      ->33
    5     9    > > JMP                                                      ->17
    6    10    >   INIT_FCALL                                               'fgets'
         11        SEND_VAR                                                 !0
         12        SEND_VAL                                                 4096
         13        DO_ICALL                                         $8      
         14        ASSIGN                                                   !1, $8
    7    15        ASSIGN_DIM                                               !2
         16        OP_DATA                                                  !1
    5    17    >   INIT_FCALL                                               'feof'
         18        SEND_VAR                                                 !0
         19        DO_ICALL                                         $11     
         20        BOOL_NOT                                         ~12     $11
         21      > JMPNZ                                                    ~12, ->10
    9    22    >   INIT_FCALL                                               'explode'
         23        SEND_VAL                                                 '%09%09'
         24        FETCH_DIM_R                                      ~13     !2, 20
         25        SEND_VAL                                                 ~13
         26        DO_ICALL                                         $14     
         27        ASSIGN                                                   !3, $14
   10    28        ECHO                                                     !3
   11    29        FETCH_DIM_R                                      ~16     !3, 2
         30        CAST                                          4  ~17     ~16
         31        MUL                                              ~18     ~17, 12
         32        ASSIGN                                                   !4, ~18
   12    33    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
159.51 ms | 1396 KiB | 21 Q