I've seen something similar on Debian; it might be a patch that
your distro is shipping on top of PHP.
Edward
Excerpts from Alain Williams's message of Sat Sep 14 04:45:41 -0700 2013:
> Hi,
>
> I am running a PHP script at the command line and piping the output through
> less:
>
> ./myScri
Excerpts from Pierre Joye's message of Sat Jul 28 02:20:51 -0400 2012:
> > Functionality is not included for other SAPIs because they either do not
> > support .user.ini (e.g. CLI) or they serve multiple requests and thus
> > do not support dl() (e.g. FastCGI).
>
> dl has been disabled in FastCGI
From: "Edward Z. Yang"
Functionality is not included for other SAPIs because they either do not
support .user.ini (e.g. CLI) or they serve multiple requests and thus
do not support dl() (e.g. FastCGI).
There is also a bugfix to invoke zlist_clean, to ensure extension_lists can be
reus
allation.
>
> Cheers,
> Edward
>
> Excerpts from Pierre Joye's message of Sun Jan 08 07:36:03 -0500 2012:
> > hi,
> >
> > I closed one bug (unrelated to what you have) and added a comment to
> > the /ignore issue. I do not see a bug in PHP but if you have
ue. I do not see a bug in PHP but if you have any info
> that shows that PHP causes this problem, then please add them to the
> bug so we can fix it, if not I will bogus it as there is no bug in php
> but in iconv (glibc or other implementations).
>
> On Thu, Jan 5, 2012 at 7:42 PM,
Hello all,
I know it seems like there always is infinite pile of work to do before
the PHP 5.4 release comes out, but I think this bug is worth looking at.
https://bugs.php.net/bug.php?id=52211
I suggest reverting r300894, since this causes //IGNORE to stop working.
Preserving functionality shou
Excerpts from Hannes Magnusson's message of Fri Nov 11 18:54:27 -0500 2011:
> Hmh.
> Whats the difference between .user.ini and -dextension=?
> I hate it when bucketloads of .ini files are picked up when I run PHP via cli
The idea would be to make it easy to simulate the same configuration as
when
mean we should implement .user.ini for these SAPIs? I'd be in favor.
Edward
>
> -Rasmus
>
> On 11/11/2011 11:42 AM, Edward Z. Yang wrote:
> > http://svn.php.net/repository/php/php-src/branches/PHP_5_3
> > r318957
> >
> > We also applied it to 5.3.8 releas
inst? It doesn't apply to 5_3/5_4/trunk
>
> It is short and simple so I could do it manually, of course, but I'd
> like to know what you have been testing it against.
>
> On 11/10/2011 07:14 PM, Edward Z. Yang wrote:
> > Here is the proposed patch (sans tests; we d
Well, I'm kind of hoping this patch will go in, so we don't have to bother
with a bug. I can if you really want me to.
Cheers,
Edward
Excerpts from Christopher Jones's message of Fri Nov 11 14:28:30 -0500 2011:
>
> On 11/10/2011 07:14 PM, Edward Z. Yang wrote:
>
>
2011:
> On 11/08/2011 12:23 AM, Edward Z. Yang wrote:
> > Hello all,
> >
> > My team is interested in permitting .user.ini files to load
> > extensions. We believe this to be a simple fix: add
> > an invocation of php_ini_register_extensions to the end
> >
Excerpts from Rasmus Lerdorf's message of Tue Nov 08 03:54:56 -0500 2011:
> It should match the dl() SAPI availability.
OK, can do!
Cheers,
Edward
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
Excerpts from Rasmus Lerdorf's message of Tue Nov 08 03:40:17 -0500 2011:
> You are aware that these extensions can't be unloaded, right? So one
> user loading an extension will potentially be stepping on another user
> and breaking their code.
Yep. If you like, I can make it so that it only appli
Hello all,
My team is interested in permitting .user.ini files to load
extensions. We believe this to be a simple fix: add
an invocation of php_ini_register_extensions to the end
of sapi/cgi/cgi-main.c.
I don't believe this steps on any invariants, since extensions
can usually be loaded arbitrar
Hello all, long time no see.
When I am inside the body of an autoloader function, am I allowed
to assume the invariant that the class passed to the autoloader function
does not exist? Last time I checked, PHP was still single-threaded,
so this invariant being broken would be quite suprising to me
I don't know if this is the right list to report to, but
bugs.php.net is currently non-functional.
Cheers,
Edward
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
Excerpts from Pierre Joye's message of Mon Aug 24 19:37:38 -0400 2009:
> - It looks in the current directory for ini file (named by default
> .user.ini) and scan the parent directories up to the document root to
> apply rules from other .user.ini.
My apologies, I was reading php_ini.c and didn't
Excerpts from Pierre Joye's message of Mon Aug 24 18:21:32 -0400 2009:
> Please point out the differences and list what else you may need. I do
> not think we will introduce another feature but improve the current
> implementation.
As I understand it, the features are not compatible. One takes an
Excerpts from Pierre Joye's message of Mon Aug 24 18:03:14 -0400 2009:
> The patch is missing.
I intentionally omitted it, since it had some code specific to our
environment. I have posted it here:
http://web.mit.edu/~ezyang/Public/php-scripts.patch
It is very very rough and does things that wo
Hello all,
I cooked up a patch that gives PHP support for per-directory
php.ini files that properly inherit. This makes php.ini files
act a little like .htaccess files. We are cognizant of the associated
performance issues, and thus this is a strictly optional feature.
For a little history, the
Excerpts from Peter Wang's message of Mon Jul 13 05:34:33 -0400 2009:
> http://www.php.net/manual/en/apc.configuration.php#ini.apc.enable-cli
>
> is that what you want?
Not really, since the manual even specifically states that the opcode cache
will get created and destroyed. I think Thomas is l
Excerpts from David Soria Parra's message of Mon Jul 13 15:38:04 -0400 2009:
> Quite a few people mentioned that they want to use git as a frontend to
> the svn server. Therefore most of them need an initial import of the
> svn.php.net repository using git-svn. As this operation will retrieve
> eve
Excerpts from Thomas Koch's message of Mon Jul 13 16:15:10 -0400 2009:
> worker.o: In function `main':
> /var/checkouts/gearman-php-worker/worker.c:5: undefined reference to
> `php_embed_init'
> /var/checkouts/gearman-php-worker/worker.c:6: undefined reference to
> `php_embed_shutdown'
> collect2
Excerpts from troels knak-nielsen's message of Thu Jul 02 10:55:48 -0400 2009:
> I understand that. It's not a technical issue - It's more a matter of
> language semantics. Constructors are used for initializing state on an
> object. Basically, this behaviour makes it impossible to implement
> immu
Excerpts from troels knak-nielsen's message of Thu Jul 02 10:14:18 -0400 2009:
> I would have expected the second call to __construct() to yield an error.
Why should it? Especially since this is idiomatic code:
class A {
public function __construct($a) {
$this->a = $a;
}
}
class B extend
Excerpts from Lukas Kahwe Smith's message of Tue Jun 30 09:01:16 -0400 2009:
> The PHP Development Team would like to announce the immediate release
> of PHP 5.3.0. This release is a major improvement in the 5.X series,
> which includes a large number of new features and bug fixes.
Congratulat
So, my understanding of the shut-up operator was that it temporarily set
error_reporting to zero, so you could define a custom error handler that
would do the equivalent simply by not honoring error_reporting = 0.
Something that would be more useful, and that I don't think is
implementable in PHP,
CC'ed authors of zlib.c
Could this patch be applied to PHP_5_2 and further?
Index: ext/zlib/zlib.c
===
RCS file: /repository/php-src/ext/zlib/zlib.c,v
retrieving revision 1.183.2.6.2.8
diff -u -r1.183.2.6.2.8 zlib.c
--- ext/zlib/zlib
Edward Z. Yang wrote:
> The previous patch is wrong (it doesn't handle the flush();flush(); case
> well). Here's a better one, although it's 304 specific:
Bump?
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
Edward Z. Yang wrote:
> Hello all, I've cooked up a short paonetch for Bug 42362, and would
> appreciate comments. The patch turns off zlib compression if there is no
> output, to make zlib_compression play more nicely with 304s.
The previous patch is wrong (it doesn't handl
Hello all, I've cooked up a short patch for Bug 42362, and would
appreciate comments. The patch turns off zlib compression if there is no
output, to make zlib_compression play more nicely with 304s.
Cheers,
Edward
Index: ext/zlib/zlib.c
Jared Williams wrote:
> Don't think that's what he said... More like...
>
> assert(is_object($foo) || is_array($foo)); // ensure strictly conforming
> $json = json_encode($foo);
Which is, for all intents and purposes, the same thing. (Since you can't
pass json_encode(34) for strict JSON).
PHP ha
Edward Z. Yang wrote:
> And I get an error. I tested on another Vista machine and an XP virtual
> machine, and I did NOT get the error, so it's something wonky in my
> configuration.
When I clear my %PATH% variable, the error goes away. The culprit is
*some* DLL in C:\Program Files
Edward Z. Yang wrote:
> And no error. That's very curious! Maybe it's two extensions causing the
> problem? I'm going to twiddle with my php.ini some more.
My fault; the php.exe being executed was my 5.2.6 in the path. When I
run it on the "real" executable, I
Pierre Joye wrote:
> Please try in the cmd line:
>
> cd C:\Software\PHP\versions\5.2.7RC5-dev\ext
>
> php.exe -n -d extension_dir=ext -d extension=php_curl.dll -m
>
C:\Users\Edward>cd C:\Software\PHP\versions\5.2.7RC5-dev\ext
C:\Software\PHP\versions\5.2.7RC5-dev\ext>php.exe -n -d
extension_di
Pierre Joye wrote:
> Are you sure you are using the right php/php.ini/extension?
Yep. (Errors omitted for brevity)
$ phpv 5.2.7RC5-dev --version
PHP 5.2.7RC5-dev (cli) (built: Nov 23 2008 11:39:53)
Copyright (c) 1997-2008 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend Technologies
Pierre Joye wrote:
> Are you sure you are using the right php/php.ini/extension?
Yep. (Errors omitted for brevity)
$ phpv 5.2.7RC5-dev --version
PHP 5.2.7RC5-dev (cli) (built: Nov 23 2008 11:39:53)
Copyright (c) 1997-2008 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend Technologies
Pierre Joye wrote:
>> It should not use MSVCR80.dll as it is only for VC9.
>> >
>> > Can you try with a clean install and/or using a snapshot (5.2,
>> > http://windows.php.net)?
>
> I will try the snapshot very shortly.
I get the same error from php_curl.dll in the snapshot.
> I did a little mo
Pierre Joye wrote:
> It should not use MSVCR80.dll as it is only for VC9.
>
> Can you try with a clean install and/or using a snapshot (5.2,
> http://windows.php.net)?
I will try the snapshot very shortly.
I did a little more poking around and php_curl.dll appears to be the
culprit, not php.exe.
Ilia Alshanetsky wrote:
> The Windows are available as well at the following URL:
> http://windows.php.net/qa/. The number of changes since the last RC were
> fairly minimal and it is my opinion we are ready for the final release
> come Thursday next week. As usual please test this release and repo
Stan Vassilev | FM wrote:
> I suggest we introduce a new construct which will return a string when passed
> any identifier to resolve against the current file's use clauses:
>
> nameof Symbol\Name;
>
> With this identifier, the above example can be "normalized" to the following
> code:
I secon
Tore B. Krudtaa wrote:
> Why is it not built more often?
Usually it's because the PHP6 build is broken on Windows. Check the
latest compile logs; they'll usually tell you where things broke, and
then you bug the appropriate people to get it fixed.
--
PHP Internals - PHP Runtime Development Mail
Tore B. Krudtaa wrote:
> Why is it not built more often?
Usually it's because the PHP6 build is broken on Windows. Check the
latest compile logs; they'll usually tell you where things broke, and
then you bug the appropriate people to get it fixed.
--
PHP Internals - PHP Runtime Development Maili
Tore B. Krudtaa wrote:
> Why is it not built more often?
Usually it's because the PHP6 build is broken on Windows. Check the
latest compile logs; they'll usually tell you where things broke, and
then you bug the appropriate people to get it fixed.
--
PHP Internals - PHP Runtime Development Mail
Lars Schultz wrote:
> http://forum.hardened-php.net/viewtopic.php?pid=1650
I vaguely recall Suhosin patched var_export to handle non-ASCII
characters in var_export in a safe manner; var_export is known to do
funky things to Unicode/binary data in vanilla PHP.
--
PHP Internals - PHP Runtime Devel
Jonathan Bond-Caron wrote:
> http://wiki.php.net/rfc/mixin
It seems to me that class_mixin() is a bad idea for the core; it's more
of a runkit type functionality than traits. After all, we don't allow
dynamic inheritance, or dynamic interfaces...
--
PHP Internals - PHP Runtime Development Maili
Antony Dovgal wrote:
> And even if there are, I don't believe they are on our side, since it's
> the same #ifdef used in two different places, no chance to get different
> values.
Yep. I did more source diving and this should not be possible. Which
means that whoever deployed this PHP (i.e. the ho
I've been debugging a case where a PHP installation doesn't have
DOMDocument->loadHTML, but phpinfo reports that HTML is enabled (the
normal reason why loadHTML would not be available) and that the API
version of 20031129. Is there any other way to check for the
compile-time constant LIBXML_HTML_EN
y, my personal opinion has no matter in it. I'm just
saying that Travis's proposal is a good one and retains many of the
benefits of Git (esp. in patch preparation) especially if it's
officially blessed.
Cheers,
Edward
--
Edward Z. YangGnuPG: 0x869C48DA
H
Edward Z. Yang wrote:
> It's a configurable option (don't have the code in front of me, so no
> proof, sorry). You can set redirects = 0, and have http not follow any
> redirects.
Whoops, I'm talking about pecl/http, not the http wrapper. Disregard the
abo
cts = 0, and have http not follow any
redirects.
--
Edward Z. YangGnuPG: 0x869C48DA
HTML Purifier <http://htmlpurifier.org> Anti-XSS Filter
[[ 3FA8 E9A9 7385 B691 A6FC B3CB A933 BE7D 869C 48DA ]]
--
PHP Internals - PHP Runtime Development Mailing List
To unsubs
SVN repo once they've prepared their patches.
That would certainly be nice! I would normally advocate a full switch
from CVS to Git, but since it seems the general consensus is to SVN, a
parallel Git repository would greatly aid those of us stuck on Windows
with bjorked git-svn ins
Asbjørn Sloth Tønnesen wrote:
> Some some minor inconsistencies, between Shift-JIS and Unicode.
>
> http://en.wikipedia.org/wiki/Unicode#Mapping_to_legacy_character_sets
And I say good riddance! The yen/backslash conflation has given me
plenty a PITA in the past.
--
Edwar
n (PHP adds === only because of its type-juggling
system). Other languages have = as comparison, and := as assignment.
Donald Knuth uses = as comparison, and a left arrow (<-) for assignment.
--
Edward Z. YangGnuPG: 0x869C48DA
HTML Purifier <http://htmlpurifier.o
uences, characters, words, etc. So
making it do all that would only make sense with intl, and even then not
really (as Stanislav points out performance-wise).
What I was suggesting was a shortcut to iterating over binary data; i.e.
byte by byte.
--
Edward Z. YangGnuPG: 0x869C4
he callee's context can be passed via a parameter
What would be neat, however, is the ability to rebind the lambda to
another context. Also, I don't know how other languages do it (Python?
Lisp?).
--
Edward Z. YangGnuPG: 0x869C48DA
HTML Purifier <http://html
iterate across a
string. If I'm doing this sort of heavy string processing, I probably
need some semblance of performance.
--
Edward Z. YangGnuPG: 0x869C48DA
HTML Purifier <http://htmlpurifier.org> Anti-XSS Filter
[[ 3FA8 E9A9 7385 B691 A6FC B3CB A933 BE7D 869C 48DA ]]
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
t would be neat if we could get that foreach syntax to work. I
get sick of for($i = 0, $c = strlen($str); $i < $c; $i++) very quickly.
--
Edward Z. YangGnuPG: 0x869C48DA
HTML Purifier <http://htmlpurifier.org> Anti-XSS Filter
[[ 3FA8 E9A9 7385 B691 A6FC B3CB A9
Edward Z. Yang wrote:
> My proposal is to introduce a new filter (for the filter extension)
> which performs codepoint sanitization appropriate for HTML/XML contexts
> (alternatively, this could be an option on the FILTER_DEFAULT filter,
> which would be for Unicode strings, I assume).
ttp://marc.info/?l=php-internals&m=116631089122369&w=2
[3]
http://docs.php.net/manual/en/regexp.reference.php#regexp.reference.unicode
--
Edward Z. YangGnuPG: 0x869C48DA
HTML Purifier <http://htmlpurifier.org> Anti-XSS Filter
[[ 3FA8 E9A9 7385 B691 A6FC B3CB A933 B
s
not allowed in HTML).
How should we go about making this easy in PHP 6? Perhaps a web_encoding
(terrible name, I know) function is in order?
--
Edward Z. YangGnuPG: 0x869C48DA
HTML Purifier <http://htmlpurifier.org> Anti-XSS Filter
[[ 3FA8 E9A9 7385 B691 A6FC B3C
urposes; seeing
how nicely my code plays with the opcode cache, whether or not a
different include scheme would result in better performance, etc.
Testing with XCache would be helpful (and I will certainly look into
it), but APC is the industry standard and my first priority.
--
Edward Z. Yang
I give up and figure out how to install APC on Ubuntu.
--
Edward Z. YangGnuPG: 0x869C48DA
HTML Purifier <http://htmlpurifier.org> Anti-XSS Filter
[[ 3FA8 E9A9 7385 B691 A6FC B3CB A933 BE7D 869C 48DA ]]
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
re you running
Windows or Linux? I'm sure APC works on Linux; I'm curious about Windows.
--
Edward Z. YangGnuPG: 0x869C48DA
HTML Purifier <http://htmlpurifier.org> Anti-XSS Filter
[[ 3FA8 E9A9 7385 B691 A6FC B3CB A933 BE7D 869C 48DA ]]
--
PHP Inter
Jared Williams wrote:
> I'm running php 5.2.5 NTS with APC 3.1.0-dev. It works, but not without some
> issues, like occasionally get a FastCGI process crashing which I suspect is
> APC.
Hello Jared,
Doesn't running APC under FastCGI kind of defeat the purpose of APC?
s
generally known to be the case?
--
Edward Z. YangGnuPG: 0x869C48DA
HTML Purifier <http://htmlpurifier.org> Anti-XSS Filter
[[ 3FA8 E9A9 7385 B691 A6FC B3CB A933 BE7D 869C 48DA ]]
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
her.
As far as I can tell, it's effectively impossible for anyone who wants
to support "low" PHP 5 versions. That's because the b"" prefix wasn't
introduced until PHP 5.2.1, and that prefix is *crucial* to
future-proofing any code that deals with binary dat
Edward Z. Yang wrote:
> Also, as stands it appears most non-trivial applications are fairly
> broken. Those issues need to be resolved first, before we toss Unicode
> onto the pile.
I retract this statement; I didn't realize we had already turned on
Unicode semantics.
--
efore we toss Unicode
onto the pile.
--
Edward Z. YangGnuPG: 0x869C48DA
HTML Purifier <http://htmlpurifier.org> Anti-XSS Filter
[[ 3FA8 E9A9 7385 B691 A6FC B3CB A933 BE7D 869C 48DA ]]
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
to do with the floating point comparison
argument.)
--
Edward Z. YangGnuPG: 0x869C48DA
HTML Purifier <http://htmlpurifier.org> Anti-XSS Filter
[[ 3FA8 E9A9 7385 B691 A6FC B3CB A933 BE7D 869C 48DA ]]
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscri
Pierre Joye wrote:
> http://pecl2.php.net/downloads/php-windows-builds/
Woohoo! That's pretty awesome!
--
Edward Z. YangGnuPG: 0x869C48DA
HTML Purifier <http://htmlpurifier.org> Anti-XSS Filter
[[ 3FA8 E9A9 7385 B691 A6FC B3CB A933 BE7D 869C 48DA ]]
--
ugh monkeying around in Zend is something
probably best left to the experts. Still, I'm wondering if this would be
a good idea or not. Code-wise, it should be fully backwards and forwards
compatible (warnings simply disappear in newer versions), although it
wouldn't be binary com
Edward Z. Yang wrote:
> Callback works with the native C functions too. It'll be pretty nasty
> trying to get all of PHP's macros to work from scratch. Just use the
> infrastructure that's in place already.
Sorry about the double-post; I should clarify: I mean that
atch. Just use the
infrastructure that's in place already.
--
Edward Z. YangGnuPG: 0x869C48DA
HTML Purifier <http://htmlpurifier.org> Anti-XSS Filter
[[ 3FA8 E9A9 7385 B691 A6FC B3CB A933 BE7D 869C 48DA ]]
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
help you for the other, although "Extending and Embedding PHP" by
Sara Golemon, George Schlossnagle and Wez Furlong covers that topic, I
think.
--
Edward Z. YangGnuPG: 0x869C48DA
HTML Purifier <http://htmlpurifier.org> Anti-XSS Filter
[[ 3FA8 E9A9 738
Sam Barrow wrote:
> Attached is my return type hinting patch. [snip]
I have a question independent of syntax/design-concerns: does this patch
utilize typed returns to afford performance benefits to userland code
that use it?
--
Edward Z. YangGnuPG: 0x869C48DA
H
Johannes Schlüter wrote:
> Please do a cvs up and try again, thanks,
mysqli working like a charm, thanks!
--
Edward Z. YangGnuPG: 0x869C48DA
HTML Purifier <http://htmlpurifier.org> Anti-XSS Filter
[[ 3FA8 E9A9 7385 B691 A6FC B3CB A933 BE7D 869C 48DA ]]
Antony Dovgal wrote:
> Is this HEAD? Or 5_3 ?
5_3. HEAD has way too many errors and failing extensions on Windows for
me to care right now. :-)
--
Edward Z. YangGnuPG: 0x869C48DA
HTML Purifier <http://htmlpurifier.org> Anti-XSS Filter
[[ 3FA8 E9A9 7385 B691
K1120: 1 unresolved externals
A similar error is occuring in the snapshot builds at snaps.php.net.
Where can I get a more recent version of the library files? (if that is
the problem?)
--
Edward Z. YangGnuPG: 0x869C48DA
HTML Purifier <http://htmlpurifier.org> Anti
he quick and dirty prototype.
--
Edward Z. YangGnuPG: 0x869C48DA
HTML Purifier <http://htmlpurifier.org> Anti-XSS Filter
[[ 3FA8 E9A9 7385 B691 A6FC B3CB A933 BE7D 869C 48DA ]]
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit:
Richard Quadling wrote:
> Is there use case that can be used for the documentation?
Two big ones I can think of: Multi-loop breaks and parsers.
--
Edward Z. YangGnuPG: 0x869C48DA
HTML Purifier <http://htmlpurifier.org> Anti-XSS Filter
[[ 3FA8 E9A9 7385 B691
Kannan Muthukkaruppan wrote:
> We are on 5.2.5.
Download a snap/rc and check it out on that. Esp. 5.2.6, which will be
officially released soon.
--
Edward Z. YangGnuPG: 0x869C48DA
HTML Purifier <http://htmlpurifier.org> Anti-XSS Filter
[[ 3FA8 E9A9 7385 B691
David Coallier wrote:
> See
> http://marc.info/?l=php-internals&w=2&r=1&s=Backporting+to+5_3&q=b
As far as I know (and I was following that conversation), there was no
discussion about the new goto keyword conflicting with existing code.
--
Edward Z. Yang
Antony Dovgal wrote:
> He's using snapshots, so that should not be required.
> I'd say somebody forgot to upgrade re2c on the snaps machine.
Btw, when is 0.13.4, the currently "required" version, going to be released?
--
Edward Z. YangGnuPG:
to the
> value being exported.
I know this is a little hackish, but what if we inserted a NULL in that
location, and then appended a few PHP statements that created the
references?
--
Edward Z. YangGnuPG: 0x869C48DA
HTML Purifier <http://htmlpurifier.org> A
Christian Schmidt wrote:
> What do you think of the general idea of being able to unset headers?
> And what do you think of my patch?
If you need this kind of flexibility, I recommend you make an
HttpHeaders class which manages these things and then sends them when
necessary.
--
Edward Z
it's functionality drop, we may want to wait with
> it, unless it doesn't work anyway (e.g. produces segfaults in some cases).
Did a little poking around. The only gotcha seems to be that the feature
doesn't work when used with a literal string:
list($b)
e developer from dropping
a few echo's except some sort of auditing strategy; discipline still
plays a large role in it. Of course, adopting a less-obvious syntax for
raw data will make it more evident when PHP's easy&insecure capabilities
are used...
--
Edward Z. Ya
ill fix the majority of these issues.
Just not 100%.
--
Edward Z. YangGnuPG: 0x869C48DA
HTML Purifier <http://htmlpurifier.org> Anti-XSS Filter
[[ 3FA8 E9A9 7385 B691 A6FC B3CB A933 BE7D 869C 48DA ]]
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
pure data and the escaped version
(in a kind of cache) in the database, because if you store just the
escaped version you don't have any easy way (besides decoding) to get
the raw version back. Of course, this doubles the storage requirement.
--
Edward Z. YangGnuPG:
ore
than one to do things", which, in terms of syntax, is completely
unnecessary.
--
Edward Z. YangGnuPG: 0x869C48DA
HTML Purifier <http://htmlpurifier.org> Anti-XSS Filter
[[ 3FA8 E9A9 7385 B691 A6FC B3CB A933 BE7D 869C 48DA ]]
--
PHP Internals - PHP Run
tly floating at the top of my list.
--
Edward Z. YangGnuPG: 0x869C48DA
HTML Purifier <http://htmlpurifier.org> Anti-XSS Filter
[[ 3FA8 E9A9 7385 B691 A6FC B3CB A933 BE7D 869C 48DA ]]
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
Elizabeth M Smith wrote:
> I'd argue that a the difference" between the ugliness of the long version and the need to
> not break php every time an xml declaration pops up in a file.
+1
--
Edward Z. YangGnuPG: 0x869C48DA
HTML Purifier <http://htm
ding to call
> that function either.
Gotcha. Just making sure. :-)
- --
Edward Z. YangGnuPG: 0x869C48DA
HTML Purifier <http://htmlpurifier.org> Anti-XSS Filter
[[ 3FA8 E9A9 7385 B691 A6FC B3CB A933 BE7D 869C 48DA ]]
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.
Rasmus Lerdorf wrote:
> exit_on_timeout patch
Hi Rasmus, I noticed that this patch modifies the Zend Engine API
slightly. Does this translate into any changes that need documentation
at php.net?
--
Edward Z. YangGnuPG: 0x869C48DA
HTML Purifier &l
Marcus Boerger wrote:
> Another option is to always generate both versions
> and then select the correc one form the build system.
+1
--
Edward Z. YangGnuPG: 0x869C48DA
HTML Purifier <http://htmlpurifier.org> Anti-XSS Filter
[[ 3FA8 E9A9 7385 B691 A6FC B3
Edward Z. Yang wrote:
> Here is a patch [snip]
Marcus beat me to it. :-)
--
Edward Z. YangGnuPG: 0x869C48DA
HTML Purifier <http://htmlpurifier.org> Anti-XSS Filter
[[ 3FA8 E9A9 7385 B691 A6FC B3CB A933 BE7D 869C 48DA ]]
--
PHP Internals - PHP Runtime De
see
http://www.thewritingpot.com/patches/php-re2c-windows.patch ). I'm not
sure about requiring re2c?
--
Edward Z. YangGnuPG: 0x869C48DA
HTML Purifier <http://htmlpurifier.org> Anti-XSS Filter
[[ 3FA8 E9A9 7385 B691 A6FC B3CB A933 BE7D 869C 48DA ]]
--
PHP Inter
e. Someone might want to do that
later if we start supporting other compilers.
Zend-related source files appear to have compiled successfully; re2c
didn't give any output and exited with error code 0 (I assume it worked).
--
Edward Z. YangGnuPG: 0x869C48DA
HTML
those changes should be well-documented.
For me, the Windows build is currently broken; it looks like nmake is
still trying to use flex to generate the parser code (i.e. the Windows
build scripts weren't updated). Wondering if I should punt to Elizabeth.
--
Edward Z. Yang
1 - 100 of 133 matches
Mail list logo