3v4l.org

run code in 300+ PHP versions simultaneously
<?php /* Zet dit stuk bovenaan je pagina Als je dit niet doet rekent de code de laadtijd van de pagina verkeerd! */ $microtime = microtime(); $delen = explode(" ", $microtime); $precies = $delen[0]; $seconden = date("U"); $bgtm = $precies + $seconden; ?> </head> <head><title>Kennemercollege Boeken</title></head> <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta charset="utf-8" /> <!--[if IE]><script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]--> <meta name="keywords" content="" /> <meta name="description" content="" /> <link rel="stylesheet" href="style.css" type="text/css" media="screen, projection" /> </head> <body> <div id="wrapper"> <header id="header"> <center><IMG src="Naamloos5.png" height="75" width="500"></center> </header><!-- #header--> <section id="middle"> <div id="container"> <div id="content"> <strong>Welkom.</strong> <br><br><br> Op kennemercollege boeken kan je eenvoudig een boek toevoegen voor het vak Nederlands. </div><!-- #content--> </div><!-- #container--> <aside id="sideLeft"> <P STYLE="font-size: 12pt;"><h1>Home</h1> <p> <a href="http://www.kennemercollegeboeken.hostzi.com/">Voorpagina</a><br> <a href="https://kennemer.swp.nl" onclick="window.open('https://kennemer.swp.nl','Magister', 'width=1000,height=425,scrollbars=no,toolbar=no,location=no'); return false">Magister</a><br> <a href="https://webmail.kennemercollege.nl/owa/" onclick="window.open('https://webmail.kennemercollege.nl/owa/','Kennemercollege Mail', 'width=400,height=425,scrollbars=no,toolbar=no,location=no'); return false">Kennemer Mail</a> <br> <a href="http://roosters.kennemercollege.nl/bulrooster/roosterwijzigingen/" onclick="window.open('http://roosters.kennemercollege.nl/bulrooster/roosterwijzigingen/','Kennemercollege Mail', 'width=400,height=425,scrollbars=no,toolbar=no,location=no'); return false">Rooster</a></p> <P STYLE="font-size: 12pt;"><h1>Account</h1> <a href="http://kennemercollegeboeken.hostzi.com/login.php">Inloggen</a><br> <a href="http://kennemercollegeboeken.hostzi.com/register.php">Account aanmaken</a><br> <a href="http://kennemercollegeboeken.hostzi.com/upload/">Support</a><br></p> <a href="http://kennemercollegeboeken.hostzi.com/contact/contact.php">Contact</a><br></p> <p style="font-size: 12pt;"><h1>Spelletjes</h1> <a href="http://www.kennemercollegeboeken.hostzi.com/game1.php">Bounce Game</a> <br> <a href="http://www.kennemercollegeboeken.hostzi.com/game2.php">Reactie Spel</a> <br> <a href="http://www.kennemercollegeboeken.hostzi.com/game3.php">Raad het nummer</a><br> <a href="http://www.kennemercollegeboeken.hostzi.com/game4.php">Zoek de Spion</a> <br></p> </aside><!-- #sideLeft --> </section><!-- #middle--> </div><!-- #wrapper --> <footer id="footer"> © Kennemercollege Boeken 2013. Site made by <b>Frank Martens</b> </footer><!-- #footer --> </body> </html> <?php mysql_connect("mysql11.000webhost.com", "a4692586_news", "news123"); mysql_select_db("a4692586_news"); $insertennodig = mysql_query("SELECT datum FROM teller WHERE ip = '".$_SERVER['REMOTE_ADDR']."' AND datum = CURDATE() LIMIT 1")or die(mysql_error()); if(mysql_num_rows($insertennodig) < 1) { mysql_query("INSERT INTO teller (ip, datum) VALUES('".$_SERVER['REMOTE_ADDR']."', CURDATE())") or die(mysql_error()); } $qry = mysql_query(" SELECT ( SELECT COUNT(datum) FROM teller WHERE datum = CURDATE() ) AS bezoekersvandaag, ( SELECT COUNT(datum) FROM teller WHERE datum >= CURDATE( ) - INTERVAL 1 WEEK ) AS bezoekersdezeweek, ( SELECT COUNT(datum) FROM teller WHERE datum >= CURDATE( ) - INTERVAL 1 MONTH ) AS bezoekersdezemaand, ( SELECT COUNT(datum) FROM teller WHERE datum >= CURDATE() - INTERVAL 1 YEAR ) AS bezoekersditjaar ")or die(mysql_error()); /* if(mysql_num_rows($qry) < 1) { echo 'er waren nog geen visits, maar deze "error" ga je nooit zien, want jij bent al een bezoeker die toegevoegd zou moeten zijn^^'; } else { */ while($res = mysql_fetch_assoc($qry)) { #echo 'vandaag: '.$res['bezoekersvandaag']; #echo '<br />'; #echo 'deze week: '.$res['bezoekersdezeweek']; #echo '<br />'; #echo 'deze maand: '.$res['bezoekersdezemaand']; #echo '<br />'; #echo 'dit jaar: '.$res['bezoekersditjaar']; } //} ?> <?php /* Zet dit stukje onderaan je pagina Als je dit niet doet rekent de code de laadtijd van de pagina verkeerd! */ $micro_end = microtime(); $delen = explode(" ", $micro_end); $precies_end = $delen[0]; $seconden_end = date("U"); $edtm = $precies_end + $seconden_end; $difference = $edtm - $bgtm; $difference = round($difference,5); // afronden op 5 getallen achter de komma echo "<i>Laadtijd van de pagina: <b>".$difference."</b> sec.</i>"; /*verander hier de zin waar in staat wat de laadtijd van de pagina is. Met $difference roep je de laadtijd op. */ ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 47) Position 1 = 34, Position 2 = 38
Branch analysis from position: 34
1 jumps found. (Code = 79) Position 1 = -2
Branch analysis from position: 38
2 jumps found. (Code = 43) Position 1 = 43, Position 2 = 55
Branch analysis from position: 43
2 jumps found. (Code = 47) Position 1 = 51, Position 2 = 55
Branch analysis from position: 51
1 jumps found. (Code = 79) Position 1 = -2
Branch analysis from position: 55
2 jumps found. (Code = 47) Position 1 = 60, Position 2 = 64
Branch analysis from position: 60
1 jumps found. (Code = 79) Position 1 = -2
Branch analysis from position: 64
1 jumps found. (Code = 42) Position 1 = 65
Branch analysis from position: 65
2 jumps found. (Code = 44) Position 1 = 70, Position 2 = 65
Branch analysis from position: 70
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 65
Branch analysis from position: 55
filename:       /in/D8tbR
function name:  (null)
number of ops:  98
compiled vars:  !0 = $microtime, !1 = $delen, !2 = $precies, !3 = $seconden, !4 = $bgtm, !5 = $insertennodig, !6 = $qry, !7 = $res, !8 = $micro_end, !9 = $precies_end, !10 = $seconden_end, !11 = $edtm, !12 = $difference
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   INIT_FCALL                                               'microtime'
          1        DO_ICALL                                         $13     
          2        ASSIGN                                                   !0, $13
    8     3        INIT_FCALL                                               'explode'
          4        SEND_VAL                                                 '+'
          5        SEND_VAR                                                 !0
          6        DO_ICALL                                         $15     
          7        ASSIGN                                                   !1, $15
    9     8        FETCH_DIM_R                                      ~17     !1, 0
          9        ASSIGN                                                   !2, ~17
   10    10        INIT_FCALL                                               'date'
         11        SEND_VAL                                                 'U'
         12        DO_ICALL                                         $19     
         13        ASSIGN                                                   !3, $19
   11    14        ADD                                              ~21     !2, !3
         15        ASSIGN                                                   !4, ~21
   13    16        ECHO                                                     '%0A%3C%2Fhead%3E%0A%3Chead%3E%3Ctitle%3EKennemercollege+Boeken%3C%2Ftitle%3E%3C%2Fhead%3E%0A%3C%21DOCTYPE+html%3E%0A%3Chtml+xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxhtml%22%3E%0A%3Chead%3E%0A%09%3Cmeta+charset%3D%22utf-8%22+%2F%3E%0A%09%3C%21--%5Bif+IE%5D%3E%3Cscript+src%3D%22http%3A%2F%2Fhtml5shiv.googlecode.com%2Fsvn%2Ftrunk%2Fhtml5.js%22%3E%3C%2Fscript%3E%3C%21%5Bendif%5D--%3E%0A%09%3Cmeta+name%3D%22keywords%22+content%3D%22%22+%2F%3E%0A%09%3Cmeta+name%3D%22description%22+content%3D%22%22+%2F%3E%0A%09%3Clink+rel%3D%22stylesheet%22+href%3D%22style.css%22+type%3D%22text%2Fcss%22+media%3D%22screen%2C+projection%22+%2F%3E%0A%3C%2Fhead%3E%0A%0A%3Cbody%3E%0A%0A%3Cdiv+id%3D%22wrapper%22%3E%0A%0A%09%3Cheader+id%3D%22header%22%3E%0A%09%09%3Ccenter%3E%3CIMG+src%3D%22Naamloos5.png%22+height%3D%2275%22+width%3D%22500%22%3E%3C%2Fcenter%3E%0A%09%3C%2Fheader%3E%3C%21--+%23header--%3E%0A%0A%09%3Csection+id%3D%22middle%22%3E%0A%0A%09%09%3Cdiv+id%3D%22container%22%3E%0A%09%09%09%3Cdiv+id%3D%22content%22%3E%0A%09%09%09%09%3Cstrong%3EWelkom.%3C%2Fstrong%3E+%3Cbr%3E%3Cbr%3E%3Cbr%3E+Op+kennemercollege+boeken+kan+je+eenvoudig+een+boek+toevoegen+voor+het+vak+Nederlands.%0A%09%09%09%3C%2Fdiv%3E%3C%21--+%23content--%3E%0A%09%09%3C%2Fdiv%3E%3C%21--+%23container--%3E%0A%0A%09%09%3Caside+id%3D%22sideLeft%22%3E%0A+++++++++++++++++++++++++%3CP+STYLE%3D%22font-size%3A+12pt%3B%22%3E%3Ch1%3EHome%3C%2Fh1%3E%0A+++++++++++++++++++++++%3Cp%3E+%3Ca+href%3D%22http%3A%2F%2Fwww.kennemercollegeboeken.hostzi.com%2F%22%3EVoorpagina%3C%2Fa%3E%3Cbr%3E%0A%3Ca+href%3D%22https%3A%2F%2Fkennemer.swp.nl%22+onclick%3D%22window.open%28%27https%3A%2F%2Fkennemer.swp.nl%27%2C%27Magister%27%2C+%27width%3D1000%2Cheight%3D425%2Cscrollbars%3Dno%2Ctoolbar%3Dno%2Clocation%3Dno%27%29%3B+return+false%22%3EMagister%3C%2Fa%3E%3Cbr%3E%0A%3Ca+href%3D%22https%3A%2F%2Fwebmail.kennemercollege.nl%2Fowa%2F%22+onclick%3D%22window.open%28%27https%3A%2F%2Fwebmail.kennemercollege.nl%2Fowa%2F%27%2C%27Kennemercollege+Mail%27%2C+%27width%3D400%2Cheight%3D425%2Cscrollbars%3Dno%2Ctoolbar%3Dno%2Clocation%3Dno%27%29%3B+return+false%22%3EKennemer+Mail%3C%2Fa%3E++++++%3Cbr%3E+++++++++++++++++%0A%3Ca+href%3D%22http%3A%2F%2Froosters.kennemercollege.nl%2Fbulrooster%2Froosterwijzigingen%2F%22+onclick%3D%22window.open%28%27http%3A%2F%2Froosters.kennemercollege.nl%2Fbulrooster%2Froosterwijzigingen%2F%27%2C%27Kennemercollege+Mail%27%2C+%27width%3D400%2Cheight%3D425%2Cscrollbars%3Dno%2Ctoolbar%3Dno%2Clocation%3Dno%27%29%3B+return+false%22%3ERooster%3C%2Fa%3E%3C%2Fp%3E+%0A++%3CP+STYLE%3D%22font-size%3A+12pt%3B%22%3E%3Ch1%3EAccount%3C%2Fh1%3E%0A%09%09%09%3Ca+href%3D%22http%3A%2F%2Fkennemercollegeboeken.hostzi.com%2Flogin.php%22%3EInloggen%3C%2Fa%3E%3Cbr%3E%0A%09%09%09%3Ca+href%3D%22http%3A%2F%2Fkennemercollegeboeken.hostzi.com%2Fregister.php%22%3EAccount+aanmaken%3C%2Fa%3E%3Cbr%3E%0A%09%09%09%3Ca+href%3D%22http%3A%2F%2Fkennemercollegeboeken.hostzi.com%2Fupload%2F%22%3ESupport%3C%2Fa%3E%3Cbr%3E%3C%2Fp%3E%0A%09%09%09%3Ca+href%3D%22http%3A%2F%2Fkennemercollegeboeken.hostzi.com%2Fcontact%2Fcontact.php%22%3EContact%3C%2Fa%3E%3Cbr%3E%3C%2Fp%3E%0A+++++++++++++++++++++++%3Cp+style%3D%22font-size%3A+12pt%3B%22%3E%3Ch1%3ESpelletjes%3C%2Fh1%3E%0A+++++++++++++++++++++%3Ca+href%3D%22http%3A%2F%2Fwww.kennemercollegeboeken.hostzi.com%2Fgame1.php%22%3EBounce+Game%3C%2Fa%3E+%3Cbr%3E%0A%3Ca+href%3D%22http%3A%2F%2Fwww.kennemercollegeboeken.hostzi.com%2Fgame2.php%22%3EReactie+Spel%3C%2Fa%3E+%3Cbr%3E%0A%3Ca+href%3D%22http%3A%2F%2Fwww.kennemercollegeboeken.hostzi.com%2Fgame3.php%22%3ERaad+het+nummer%3C%2Fa%3E%3Cbr%3E%0A%3Ca+href%3D%22http%3A%2F%2Fwww.kennemercollegeboeken.hostzi.com%2Fgame4.php%22%3EZoek+de+Spion%3C%2Fa%3E+%3Cbr%3E%3C%2Fp%3E%0A%09%09%3C%2Faside%3E%3C%21--+%23sideLeft+--%3E%0A%0A%09%3C%2Fsection%3E%3C%21--+%23middle--%3E%0A%0A%3C%2Fdiv%3E%3C%21--+%23wrapper+--%3E%0A%0A%3Cfooter+id%3D%22footer%22%3E%0A%09+%C2%A9+Kennemercollege+Boeken+2013.+Site+made+by+%3Cb%3EFrank+Martens%3C%2Fb%3E%0A%3C%2Ffooter%3E%3C%21--+%23footer+--%3E%0A%3C%2Fbody%3E%0A%3C%2Fhtml%3E%0A%0A'
   71    17        INIT_FCALL_BY_NAME                                       'mysql_connect'
         18        SEND_VAL_EX                                              'mysql11.000webhost.com'
         19        SEND_VAL_EX                                              'a4692586_news'
         20        SEND_VAL_EX                                              'news123'
         21        DO_FCALL                                      0          
   72    22        INIT_FCALL_BY_NAME                                       'mysql_select_db'
         23        SEND_VAL_EX                                              'a4692586_news'
         24        DO_FCALL                                      0          
   74    25        INIT_FCALL_BY_NAME                                       'mysql_query'
         26        FETCH_R                      global              ~25     '_SERVER'
         27        FETCH_DIM_R                                      ~26     ~25, 'REMOTE_ADDR'
         28        CONCAT                                           ~27     'SELECT+datum+FROM+teller+WHERE+ip+%3D+%27', ~26
         29        CONCAT                                           ~28     ~27, '%27+AND+datum+%3D+CURDATE%28%29+LIMIT+1'
         30        SEND_VAL_EX                                              ~28
         31        DO_FCALL                                      0  $29     
         32        ASSIGN                                           ~30     !5, $29
         33      > JMPNZ_EX                                         ~30     ~30, ->38
         34    >   INIT_FCALL_BY_NAME                                       'mysql_error'
         35        DO_FCALL                                      0  $31     
         36      > EXIT                                                     $31
         37*       BOOL                                             ~30     <true>
   75    38    >   INIT_FCALL_BY_NAME                                       'mysql_num_rows'
         39        SEND_VAR_EX                                              !5
         40        DO_FCALL                                      0  $32     
         41        IS_SMALLER                                               $32, 1
         42      > JMPZ                                                     ~33, ->55
   77    43    >   INIT_FCALL_BY_NAME                                       'mysql_query'
         44        FETCH_R                      global              ~34     '_SERVER'
         45        FETCH_DIM_R                                      ~35     ~34, 'REMOTE_ADDR'
         46        CONCAT                                           ~36     'INSERT+INTO+teller+%28ip%2C+datum%29+VALUES%28%27', ~35
         47        CONCAT                                           ~37     ~36, '%27%2C+CURDATE%28%29%29'
         48        SEND_VAL_EX                                              ~37
         49        DO_FCALL                                      0  $38     
         50      > JMPNZ_EX                                         ~39     $38, ->55
         51    >   INIT_FCALL_BY_NAME                                       'mysql_error'
         52        DO_FCALL                                      0  $40     
         53      > EXIT                                                     $40
         54*       BOOL                                             ~39     <true>
   80    55    >   INIT_FCALL_BY_NAME                                       'mysql_query'
         56        SEND_VAL_EX                                              '%0ASELECT%0A%09+++%28%0A%09+++SELECT+COUNT%28datum%29%0A%09+++FROM+teller%0A%09+++WHERE+datum+%3D+CURDATE%28%29%0A%09+++%29+AS+bezoekersvandaag%2C%0A+%0A%09+++%28%0A%09+++SELECT+COUNT%28datum%29%0A%09+++FROM+teller%0A%09+++WHERE+datum+%3E%3D+CURDATE%28+%29+-+INTERVAL+1+WEEK%0A%09+++%29+AS+bezoekersdezeweek%2C%0A+%0A%09+++%28%0A%09+++SELECT+COUNT%28datum%29%0A%09+++FROM+teller%0A%09+++WHERE+datum+%3E%3D+CURDATE%28+%29+-+INTERVAL+1+MONTH%0A%09+++%29+AS+bezoekersdezemaand%2C%0A+%0A%09+++%28%0A%09+++SELECT+COUNT%28datum%29%0A%09+++FROM+teller%0A%09+++WHERE+datum+%3E%3D+CURDATE%28%29+-+INTERVAL+1+YEAR%0A%09+++%29+AS+bezoekersditjaar%0A'
         57        DO_FCALL                                      0  $41     
         58        ASSIGN                                           ~42     !6, $41
         59      > JMPNZ_EX                                         ~42     ~42, ->64
  105    60    >   INIT_FCALL_BY_NAME                                       'mysql_error'
         61        DO_FCALL                                      0  $43     
         62      > EXIT                                                     $43
         63*       BOOL                                             ~42     <true>
  115    64    > > JMP                                                      ->65
         65    >   INIT_FCALL_BY_NAME                                       'mysql_fetch_assoc'
         66        SEND_VAR_EX                                              !6
         67        DO_FCALL                                      0  $44     
         68        ASSIGN                                           ~45     !7, $44
         69      > JMPNZ                                                    ~45, ->65
  127    70    >   ECHO                                                     '%0A'
  134    71        INIT_FCALL                                               'microtime'
         72        DO_ICALL                                         $46     
         73        ASSIGN                                                   !8, $46
  135    74        INIT_FCALL                                               'explode'
         75        SEND_VAL                                                 '+'
         76        SEND_VAR                                                 !8
         77        DO_ICALL                                         $48     
         78        ASSIGN                                                   !1, $48
  136    79        FETCH_DIM_R                                      ~50     !1, 0
         80        ASSIGN                                                   !9, ~50
  137    81        INIT_FCALL                                               'date'
         82        SEND_VAL                                                 'U'
         83        DO_ICALL                                         $52     
         84        ASSIGN                                                   !10, $52
  138    85        ADD                                              ~54     !9, !10
         86        ASSIGN                                                   !11, ~54
  140    87        SUB                                              ~56     !11, !4
         88        ASSIGN                                                   !12, ~56
  141    89        INIT_FCALL                                               'round'
         90        SEND_VAR                                                 !12
         91        SEND_VAL                                                 5
         92        DO_ICALL                                         $58     
         93        ASSIGN                                                   !12, $58
  143    94        CONCAT                                           ~60     '%3Ci%3ELaadtijd+van+de+pagina%3A+%3Cb%3E', !12
         95        CONCAT                                           ~61     ~60, '%3C%2Fb%3E+sec.%3C%2Fi%3E'
         96        ECHO                                                     ~61
  145    97      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.17 ms | 1408 KiB | 21 Q