Has somebody made a PHP scheme? I can't find one in the /schemes/ directory, and there doesn't seem to be one in the development branch either...
PHP scheme
(5 posts) (4 voices)-
Posted 5 years ago #
-
The Hypertext scheme includes definitions for PHP.
Posted 5 years ago # -
Why are the PHP definitions included in the HTML scheme while JavaScript has its own? That doesn't make any sense.
Posted 5 years ago # -
Well, my assumption is that JS is usually in files of its own, while pure PHP script files are pretty rare and mostly include some HTML. Further more, there is no reliable way to tell if a .php file is pure PHP or not.
Posted 5 years ago # -
Javascript is supported both in files of its own and within the web scripts one because javascript files only contain pure javascript and are often used for scripting JScript etc. As Bjoern says it's almost impossible to tell from a .php file whether it's going to be HTML with embedded PHP or just PHP code hence the use of the web scheme.
Posted 5 years ago #
Reply
You must log in to post.