Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:104686 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 91755 invoked from network); 13 Mar 2019 02:00:33 -0000 Received: from unknown (HELO mail-oi1-f170.google.com) (209.85.167.170) by pb1.pair.com with SMTP; 13 Mar 2019 02:00:33 -0000 Received: by mail-oi1-f170.google.com with SMTP id g16so3559239oib.1 for ; Tue, 12 Mar 2019 15:50:32 -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:content-transfer-encoding; bh=YtFfq/j4txtlddAAE88HIwN78xhdjT876oEQ4K9CBDU=; b=Vyd8lYxQZaekPDAEqPG3MMh1p5SPBpXUSz9A3+iG9YOJ2M/rYg4SC15Eijkw+cysiu 2Ba01WlAN0jVDNqiNLKSEPnUcW6j6qUSpoFyxwAhNL7Nw9Qk3I9mH0toM8CkgKCFwNkq BqklT8tmg8rY4yrE12zwxfUVneYXa8r2j5CDLqMV5zeMV0prrDUYt8xY4up3hROjQshy ejoKo5Gw8q819imm7+Mv6FqksRO4HEeF2otPicsg79kvmNs+9OLpkZCxiUliiQKYbwIG EdMkxXqPc5ZJk1qkyctEBsv/1UAIK9FfynzA3/4JpPCx/yBGrgWUv0HLLPAu67u8MuIa vNSg== 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:content-transfer-encoding; bh=YtFfq/j4txtlddAAE88HIwN78xhdjT876oEQ4K9CBDU=; b=DbWXMCOf4QkEqpR7R1DsUAjMZJ7q1PLSV3ZhYxOc/L1cV85oOctGzO/tZGUoQdUfVA fZotmP5JC09h9i3Vhof4ijcN3uEXMfdd+1rhLNWrEFyfc7wsj9pZ7EDUB/WKIcNvdXif Y6pkY2VTuzKMtvwIV7dyeV0qATHTkJfBTc7lP7Bhs/9iNNhVv1JNMUlka8J+4tUoXY2L JeiYk6Iw25MLjfOGY3xXVukq0aI7r4LylRMPhmvFlbhTCbvMnwpSacahu2Or+IaToQNc qmn5JFEXZee7/cI+1P9/6sSLgvTuAW4TcaT/DMADpR3NU0OAdN4dqGfqgyPma4PTZuwh SdlQ== X-Gm-Message-State: APjAAAXP1fYdkpmue4iJoaE5CFU45yhiaqHLkGU6sqJDSCtpsCdyGVEg YpAM37n1sDFRhpoN8BjCXLcW3uEOdb4d0X2XJBM= X-Google-Smtp-Source: APXvYqyfjP/r/QpN4ijsb8GLPuV97jEfOh6lOYVfl0Gzmhji9eC/Bf0cg0MYEQcKdQIuXgPdflPQSraQc52dVUtRTLQ= X-Received: by 2002:aca:1905:: with SMTP id l5mr123700oii.172.1552431031916; Tue, 12 Mar 2019 15:50:31 -0700 (PDT) MIME-Version: 1.0 References: <1552409865.26232.12.camel@schlueters.de> In-Reply-To: <1552409865.26232.12.camel@schlueters.de> Date: Tue, 12 Mar 2019 23:50:20 +0100 Message-ID: To: =?UTF-8?Q?Johannes_Schl=C3=BCter?= Cc: Rowan Collins , PHP internals Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] Deprecate short_open_tag ini directive? From: peterkokot@gmail.com (Peter Kokot) Hello, On Tue, 12 Mar 2019 at 17:57, Johannes Schl=C3=BCter wrote: > > On Di, 2019-03-12 at 15:53 +0000, Rowan Collins wrote: > > On Tue, 12 Mar 2019 at 13:28, G. P. B. > > wrote: > > > > > > > > I was more going along the lines of removing short tags altogether > > > with the > > > ini setting as they are not available out of the box except if you > > > use a > > > special compile flag. > > > > > > > I don't really follow this reasoning: if we removed every feature > > which wasn't enabled out of the box, we wouldn't need an INI file at > > all. > > Which would be good - as all those things make writing portable code > harder. > > $ echo '' | php > > Is a valid program, which will behave vastly different based on the ini > setting. > > Of course for some things having a config is good (error levels > arguably, extension loading, ...) but for the raw language syntax and > behavior not so. > > johannes > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > In reality if developer wants to write "portable" and proper PHP code, no one actually should use these short tags anymore. If they are still used somewhere as part of some legacy code, they won't work on majority of PHP installations anymore because the mostly have these turned off today in the php.ini files. So, the question here is more why supporting a feature that no one should use anymore... --=20 Peter Kokot