Hi, 2012/4/13 Arvids Godjuks <arvids.godj...@gmail.com>: > So ok, i write my code in files without extension, what happens? > > As it was said before, interpreter will not distinguish by the file > extension, ever. It is os dependant and so on. > > Why are you poluting the mailing list with things that are clearly said will > never happen?
There aren't any clean solution for script only PHP (yet) There are 3 methods proposed so far. - php.ini setting that controls embedded-mode https://wiki.php.net/rfc/nophptags - include/require that loads non-embedded mode https://wiki.php.net/rfc/source_files_without_opening_tag - file extension that switch to non-embedded mode https://wiki.php.net/rfc/phpp All of these have pros and cons. I prefer mine, but I'll vote +1 for any if one of these will be accepted. Regards, -- Yasuo Ohgaki yohg...@ohgaki.net -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php