php - What causes "unexpectedly closed the connection ERR_INCOMPLETE_CHUNKED_ENCODING" in chrome -


accessing test.php in local server environment, , chrome not load page.

<?php   virtual('./database_functions.php');    echo "<!doctype html>";   echo "<body>";   echo "<p>hello world"</p>;   echo "</body>";   echo "</html>";  ?> 

running script command line php get:

php fatal error:  call undefined function virtual() in /var/www/test.php on line 2 

this illustrates new question.

google searching reveals include/require/require_once recommended, however, i'd understand why virtual being problematic.

it's not getting right answer understanding why virtual() being problematic.

edit: blame dreamweaver. explained @aynber


Comments

Popular posts from this blog

angular - Ionic slides - dynamically add slides before and after -

minify - Minimizing css files -

Add a dynamic header in angular 2 http provider -