php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #51910 php CLI ini settings issue
Submitted: 2010-05-25 23:23 UTC Modified: 2010-05-25 23:50 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: fqqdk at freemail dot hu Assigned:
Status: Not a bug Package: Scripting Engine problem
PHP Version: 5.3.2 OS: N/A
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: fqqdk at freemail dot hu
New email:
PHP Version: OS:

 

 [2010-05-25 23:23 UTC] fqqdk at freemail dot hu
Description:
------------
When I run "php -d ini_var=some;thing" from the command line
the part after the semicolon gets swallowed (as if it were an ini comment)

Test script:
---------------
php -d include_path=foo;bar -f foo.php

foo.php:

<?php

echo get_include_path();

?>



Expected result:
----------------
foo;bar

Actual result:
--------------
foo

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2010-05-25 23:50 UTC] felipe@php.net
-Status: Open +Status: Bogus
 [2010-05-25 23:50 UTC] felipe@php.net
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to report
a bug at http://bugs.php.net/how-to-report.php

Use -d include_path="'a;b'"
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Thu Jul 17 14:04:04 2025 UTC