PHP scheme

Discussion Forums discussion PHP scheme

This topic contains 0 voices and has 4 replies.

Viewing 5 posts - 1 through 5 (of 5 total)
Author Posts
Author Posts
August 30, 2006 at 12:01 pm #105

Husky
Member

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…

August 30, 2006 at 6:59 pm #15072

Bjoern
Member

The Hypertext scheme includes definitions for PHP.

October 20, 2006 at 2:42 pm #15073

dafallus
Member

Why are the PHP definitions included in the HTML scheme while JavaScript has its own? That doesn’t make any sense.

October 20, 2006 at 2:58 pm #15074

Bjoern
Member

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.

October 20, 2006 at 5:38 pm #15075

simon
Key Master

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.

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.