php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #74775 php -l syntax check error in default php.ini
Submitted: 2017-06-18 12:58 UTC Modified: 2017-06-18 16:28 UTC
From: silver dot zachara at gmail dot com Assigned:
Status: Not a bug Package: Scripting Engine problem
PHP Version: 7.1.6 OS: all
Private report: No CVE-ID: None
 [2017-06-18 12:58 UTC] silver dot zachara at gmail dot com
Description:
------------
I tried this on latest php 7.1.2 and 7.2alpha1, was tried with default php.ini-development config file, this words in php.ini file cause php -l c:\php\php.ini to fail '<?php' and '<?='.

Expected result:
----------------
Expected result is that php -l don't fail with default configuration files :)


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2017-06-18 13:06 UTC] requinix@php.net
-Status: Open +Status: Feedback
 [2017-06-18 13:06 UTC] requinix@php.net
Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php

If you can provide more information, feel free to add it
to this bug and change the status back to "Open".

Thank you for your interest in PHP.


Are... are you trying to lint-check the INI file?

Assuming not, because that would be silly, what is the exact command you are executing and what are the contents of the PHP file you are trying to lint check?
 [2017-06-18 16:15 UTC] silver dot zachara at gmail dot com
-Status: Feedback +Status: Open
 [2017-06-18 16:15 UTC] silver dot zachara at gmail dot com
Ohh, I understood it as linter for php.ini file :/, I described everything in first post, so my mistake, can be closed.
 [2017-06-18 16:16 UTC] silver dot zachara at gmail dot com
-Status: Open +Status: Closed
 [2017-06-18 16:16 UTC] silver dot zachara at gmail dot com
Closing
 [2017-06-18 16:28 UTC] requinix@php.net
-Status: Closed +Status: Not a bug
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Apr 24 03:01:29 2024 UTC