Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:59815 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 23224 invoked from network); 13 Apr 2012 00:02:36 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 13 Apr 2012 00:02:36 -0000 Authentication-Results: pb1.pair.com header.from=arvids.godjuks@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=arvids.godjuks@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.210.170 as permitted sender) X-PHP-List-Original-Sender: arvids.godjuks@gmail.com X-Host-Fingerprint: 209.85.210.170 mail-iy0-f170.google.com Received: from [209.85.210.170] ([209.85.210.170:61847] helo=mail-iy0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 5C/79-00290-B1D678F4 for ; Thu, 12 Apr 2012 20:02:36 -0400 Received: by iaeh11 with SMTP id h11so4150072iae.29 for ; Thu, 12 Apr 2012 17:02:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=fE2uZAJbC28SN5FqGdQvcpj5fDiF8IiCOfdfYMmac38=; b=E6kYxJOOJn91ata1vqGBXqH41JikJrRYpj0x/da7/8i8uek3LJfNNGN9R8U7UJVn52 7L6zMilnJqPwwuC0EpnCZKojiHIeDpJKl1aLm30b6YLjyHm54Hcg5LNjs9EaB/IoL+7E Je3fIn4ay2pZ7Aw5IJn55ewhVwcOao1pxtqOsqkHd8ofPxU9S0P87pZrGKhHBGrtZ7N9 ueaAMEPpU4xs2048IQl2jkEXs/JGNMidAWNOYKoDTHamb9rZjPZDDep5R6q7D7gmf4gT YFM6dDlFyglsAb8HlMQVuTxrZcl2uW9mcOOxqncIgdQb9rRutzXan0e94qJAaDEon+UM yctw== MIME-Version: 1.0 Received: by 10.50.47.232 with SMTP id g8mr14208ign.18.1334275353091; Thu, 12 Apr 2012 17:02:33 -0700 (PDT) Received: by 10.64.134.233 with HTTP; Thu, 12 Apr 2012 17:02:33 -0700 (PDT) Received: by 10.64.134.233 with HTTP; Thu, 12 Apr 2012 17:02:33 -0700 (PDT) In-Reply-To: References: <4F850D06.10701@sugarcrm.com> <4F8515AF.8060706@sugarcrm.com> <4F851FE4.7000706@sugarcrm.com> <4F8539E0.1090701@sugarcrm.com> <4F859063.1010401@lerdorf.com> <4F862AAC.90003@lerdorf.com> <4F86761A.9010801@lsces.co.uk> Date: Fri, 13 Apr 2012 03:02:33 +0300 Message-ID: To: Yasuo Ohgaki Cc: Lester Caine , PHP internals Content-Type: multipart/alternative; boundary=14dae93406c77420b704bd8430cc Subject: Re: [PHP-DEV] Re: Disabling PHP tags by php.ini and CLI options From: arvids.godjuks@gmail.com (Arvids Godjuks) --14dae93406c77420b704bd8430cc Content-Type: text/plain; charset=UTF-8 You all know where the short_tags, register_globals, magic_quotes and other stuff like that took the language and the problems it made. Doesn`t history teach us a lesson? I see that it did not for some active members of this list. Many are still cleaning up the mess of thouse optional php.ini directives, Ibhad to clean up myself one project, took me 2 months to properly fix it and make to run on PHP 5, anyway we ended up rewriting the whole thing from scratch, a year of day to day work. Now i write my stuff E_ALL, including strict stuff and I know for a fact that there is no php.ini switch that could screw up my applications on different hosting platforms (yes, some minor things can happen in specific situations, but any properly configured PHP 5.3/5.4 will run smooth). And now you purpose to add a switch that in one line can disable the application for good (and get it's sources spit out all over the place). And even if i write it in the right way - i have to convert every damn external library. Ok, i upload it to the host and guess what - it spews the code out because it is configured for the