Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:104768 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 14559 invoked from network); 16 Mar 2019 06:28:29 -0000 Received: from unknown (HELO mail-oi1-f177.google.com) (209.85.167.177) by pb1.pair.com with SMTP; 16 Mar 2019 06:28:29 -0000 Received: by mail-oi1-f177.google.com with SMTP id k8so8951577oik.8 for ; Fri, 15 Mar 2019 20:19:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=MZZv4OqCnsbNwfNXMxti1n1KygaokeyUwcSdfNFstg4=; b=o6TPxJ8kKTIYaGGEmSPl+wYaLlTXapLJ7ADp4RRr79PlqaZARpLgWK0CmUYH/YrWrJ dpmGdBf5YXFptb0Nwa92DueNR6BMPTVT66ikDvMI40M2mrUK168ZauoHbJsrUIRrugDL Y2eic4nfCg3RgO3+wa1GSycVuoZG1IvBIalKHJdbsG4jiKcNd/1lQLnZTXY4n7LzaSGI 6oc58lN+UExabzkspe7drk3BdDTbG4CbRiUjd/O+xXtjGg7XmTT8p9I/O0+Ecb4mA3iX CfqeGIYGc7/X4CyjZCYIINLZ1imi+goG4wsOkRsv3eQM8vZBpy158bqpehuc0ZI3+nmb g7oQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=MZZv4OqCnsbNwfNXMxti1n1KygaokeyUwcSdfNFstg4=; b=YwNdgdyYAXlpSSWpxwJY1jhppHE6K2KXm42ADPJ4yVGXUpBOi8m+l5aPG0s2LM0y+e hWcv/1wMzko+9plbd5DSLaTs825tIv93bOBG7jfWbOtT2hB1U1Lw3xVcjd8XSS9at4i7 QwDAuYvsuzF3apvA1eeIhnTvJ0PLWyBqNZmIL9dzdlnygRncO3USWCSat9Jss3oLNNkY hkcKxk8c4sTOEtXrUt+vxJsjNvcrcbKlOBLHOsyqAvLoTyE/nsUwZdaNx6tsO8gz1iqZ MHRjSxYdCLC9oLJXHCw6T3K6JuHXSZ9qbLJ5yM2uQ48Y2lXN8jFFhud+pEAvi+WP5+fT RVjA== X-Gm-Message-State: APjAAAUgo3A7x8EIFeex6EBIIXed2PrazPwbrUnTbu7S171f55DWZuih ghxLu9F1lye3GRBchztrDIjl/2EToM9f8CEypnY= X-Google-Smtp-Source: APXvYqyI3s0QtXWdQ7ufLgyJ9wXNDTLqdSFmPe84hYf0LSu7SSrwiaVLAwttzBnVpad8MCMG38CaC6b41PUBBF055t0= X-Received: by 2002:aca:3a0b:: with SMTP id h11mr3571531oia.97.1552706355820; Fri, 15 Mar 2019 20:19:15 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: Date: Sat, 16 Mar 2019 04:19:04 +0100 Message-ID: To: Morgan Breden Cc: xellisx@gmail.com, Internals , "G. P. B." Content-Type: text/plain; charset="UTF-8" Subject: Re: [PHP-DEV] Deprecate short_open_tag ini directive? PHP internals From: peterkokot@gmail.com (Peter Kokot) Hello, On Sat, 16 Mar 2019 at 03:57, Morgan Breden wrote: > > >If you want to go further, dropping the PHP tag altogether would be nice, > since it would prevent context switching between PHP/HTML/JS/whatever. > >That would force Wordpress to update their whole > code base. >:{)> > > I wholeheartedly support this initiative but I do not see it going through > without a lot of resistance. Using PHP itself as a templating engine is > part of what makes it so "newbie friendly". I think using PHP tags for templates and option to write code without opening tag might go through also. After all, text files are simple. Something on this was already being done and probably also discussed: https://wiki.php.net/rfc/nophptags On the other hand, shebangs will still be present in CLI scripts. For example: #!/usr/bin/env php -- Peter Kokot