it
whatsoever.
thanks in advance,
~jon
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
y be enabled with a source-code
edit.
Any advice would be appreciated.
~jon
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
Ok, its pretty clear what the problem is. I must not have all 64 bit
libraries on my system. Does this mean that I've gotta find and
recompile ALL of them for PHP to be able to work with them?
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/un
ed that Jani did a bit of work earlier this year directed at
simplifying the build system (such that it only uses our bundled
libtool, for example). Given that, I'm not sure if it is still
acceptable to use shtool to locate external executables, so I'm asking
for a patch review here befor
;autoheader', respectively. The idea is borrowed from Subversion's
buildconf equivalent (which Roman mentions above).
I believe this is a workable, non-intrusive solution that should work
in all environments.
--
Jon Parise (jon of php.net) :: The PHP Project (http://www.php.net/)
Index:
g CVS. Someone should probably update
that[3]. I'll take care of it later today if no one beats me to it.
[1] http://cvs.php.net/diff.php/bindlib_w32/nsap_addr.c?r1=1.1&r2=1.2&ty=h
[2] http://www.php.net/extra/bindlib_w32.zip
[3] http://cvs.php.net/co.php/phpweb/extra/bindlib_w32.zip
s, so I'll take a crack at
getting everything running some time soon (probably this weekend).
[1] http://msdn.microsoft.com/visualc/vctoolkit2003/
--
Jon Parise (jon of php.net) :: The PHP Project (http://www.php.net/)
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
On Wed, Mar 30, 2005 at 12:04:46PM -0500, Jon Parise wrote:
> > I want to build php-5.0.3 on WinXP using Visual Studio.NET. I have read
> > the instructions at php.net as well as in README.WIN32-BUILD-SYSTEM file.
> >
> > Initially got an error regarding some functi
On Tue, Mar 29, 2005 at 10:43:30PM -0500, Jon Parise wrote:
> On Tue, Mar 29, 2005 at 04:15:38PM +0300, Jani Taskinen wrote:
>
> > > Such schemes are quite common thanks to incompatibilities between
> > > autotools versions, e. g. Subversion's buildconf equival
On Tue, Apr 05, 2005 at 09:20:17AM +0100, Joe Orton wrote:
> On Mon, Apr 04, 2005 at 01:35:37AM -0400, Jon Parise wrote:
> > Index: build/build2.mk
> > ===
> > RCS file: /repository/php-src/build/build2.mk,v
&g
plication
developers to explain the change over and over again. Or, even
better, the administrator would find it there themself.
--
Jon Parise (jon of php.net) :: The PHP Project (http://www.php.net/)
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
t breaks the precedent started by some
related flags (such as "is_method").
4. This part of the zend_vm_def.h diff looks wrong (a stray "f"):
-/*
+f/*
Looks great overall!
--
Jon Parise (jon of php.net) :: The PHP Project (http://www.php.net/)
--
he API clearer, and there might be memory
size benefits when used as a structure member.
On the other hand, changing those integers to zend_bool (unsigned
char) types could potentially have a runtime performance cost on some
platforms (depending on how those values are being marshaled around),
; php.net for web admins) but cut down on duplicate proposals and simplify
> things socially.
My preference would be something more akin to Python's PEPs:
http://www.python.org/dev/peps/
PEP 1 is an overview of the system:
http://www.python.org/dev/peps/pep-0001/
--
Jon Paris
php-5.2.6\ext\date\php_date.c @ 813-820
rfc_colon isn't reset between the 'O' and 'P' format characters.
Allowing (date('P O') === date('P P')) to return true.
Has anyone else noticed this?
- Jon L.
, 3]?! ;)
Ok, so "easier" probably wasn't the best word to use.
"Shorter" works; but, it isn't as enticing.
The only ease I can see in it is simply for familiarity (see "kids argument"
above).
Though, the amount of ease will obviously vary from one person to another.
- Jon L.
On Thu, Jan 19, 2006 at 06:41:17PM +0200, Marco Kaiser wrote:
> Today during a session i had a strange "magic" feature found in php.
>
> $a = 10;
> echo ++$a + $a++;
> ?>
>
> this works perfect as expected. it returns 22.
Odd, I expected 21:
echo (1
At 1141902889, Andrey Hristov wrote:
> sorry for sending second email. Another choice could be `leave`, which
> seems better than `escape` (clashes with escaping sequences).
I think `leave` has too many connotations with `break` and similar
commands, and could be misleading.
--
Jon Dowlan
this? Both work
> equally well and most people are familiar with the term "goto".
Seeing as this does not behave the same as the classic C "goto",
re-using the term could prove to be misleading and confusing. For this
reason I prefer "jump".
--
Jon Dowland
http://a
ects...Done. Memory Usage: 7752920
Freeing 32767 objects...Done. Memory Usage: 2807080
Allocating 7 MB of data...
Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to
allocate 1 bytes) in /home/janderson/svn/memtest.php on line 44
Am I missing something? (Is there a force_garbage_collection() function
somewhere that I'm missing?) Any suggestions/workarounds/anything would
be most appreciated.
Cheers,
jon
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
(cli) (built: Oct 3 2006 12:00:39)" <- That's 9 minutes ago). The same
issues still seem to exist.
Not much help in answering the issue, so maybe this is an issue that
has been fixed already?
Since the issue still exists in PHP CVS, perhaps I should file a bug report?
jon
--
P
On 27 June 2014 06:12, Stas Malyshev wrote:
> Hello!
>
> The PHP development team announces the immediate availability of PHP
> 5.4.30. Over 20 bugs were fixed in this release, including the following
> security issues: CVE-2014-3981, CVE-2014-0207, CVE-2014-3478,
> CVE-2014-3479, CVE-2014-3480,
Unsuscribe
On 18 July 2014 15:10, Andrea Faulds wrote:
>
> On 18 Jul 2014, at 12:31, Jon Arano wrote:
>
> >>
>
> Were you meaning to say something?
>
> --
> Andrea Faulds
> http://ajf.me/
>
>
>
>
>
wth in memory usage if the extensions
maintained a large payload of data that was being heavily modified in
each request, such as caches, but I expect they create their own
shared memory segments (I have yet to check the source of APC).
Jon
--
PHP Internals - PHP Runtime Development Mailing List
To u
ould be useful in cases where we want to write
something like Ruby's CoffeeScript. After looking at PHP's grammar
file, it's about 1,000 lines long. Since this is used to generate the
parser, isn't it possible to strip out the C macros to create an EBNF
that catches all edge cases?
Jon
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
What if it were made (bu default) on the
error_reporting level? E_ALL would use the docrefs but "lower" levels
would not (e.g. E_FATAL).
Or a new INI option (docref_errors or docref_enable)?
--
Jon Parise ([EMAIL PROTECTED]) :: The PHP Project (http://www.php.net/)
--
PHP Development In
hat's what I do for the Horde CVS mailing list:
http://lists.horde.org/archives/cvs/Week-of-Mon-20030324/021984.html
The code that adds the links is here:
http://cvs.horde.org/co.php/CVSROOT/cfg_local.pm
--
Jon Parise ([EMAIL PROTECTED]) :: The PHP Project (http://www.php.net/)
e was a way to get the (defined) set of
parameters for a function / method. I'm going to assume that, because
it's not included in your proposal, it's not currently possible given
the current model, though.
--
Jon Parise ([EMAIL PROTECTED]) :: The PHP Project (http://www.php.net/)
l) $ cvs checkout new
(local) $ rm old; cvs remove old
(local) $ cvs commit -m "Renamed old to new" -r x.x old
--
Jon Parise ([EMAIL PROTECTED]) :: The PHP Project (http://www.php.net/)
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
eceive karma for the bindlib_w32 module and
commit the patch myself.
--
Jon Parise ([EMAIL PROTECTED]) :: The PHP Project (http://www.php.net/)
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
My previous message was missing the attachments.
--
Jon Parise ([EMAIL PROTECTED]) :: The PHP Project (http://www.php.net/)
I ran into a problem when building bindlib_w32 using Visual Studio
.NEt under Windows XP:
nsap_addr.c(38) : error C2491: 'isxdigit' : definition of dllimport fu
o the PHP
> function? I have an application that obtains x509 certs (securely) and I
> want to use them to bind to the LDAP server.
I'll try and have a look at this soon. I just need to find the time
to get my local LDAP server up and running again for testing.
--
Jon Parise ([EMAIL PR
m/library/default.asp?url=/library/en-us/netdir/ldap/ldap_bind_s.asp
For now, I'll work from the OpenLDAP implementation. That will
probably benefit the largest percentage of PHP users.
> It's great if you look into this, I have sort of had it on my todo list
> for a couple of ye
7;m not sure if this is entirely
necessary, but I can see where it would be useful.
I'll also point you to distutils[1]. The Python folks spent a lot of
time thinking about these kinds of problems, and the result is a quite
good system.
[1] http://www.python.org/doc/current/lib/module-d
s for generating the whole package.
>
> Let's say something like:
>
> pear package [-t ] [-b] [-s]
>
> -t The type of package you want to generate (pear, rpm,
> msi, etc)
> -b Specifies a binary package
> -d Only generate the description package file
I think this
x27; => 'PHP_4', 'php5' => 'HEAD'). When
PHP5 ships as a stable product, a 'PHP_5' branch is created, stable
development happens there, and 'php6' is created, which points to
HEAD.
--
Jon Parise ([EMAIL PROTECTED]) :: The PHP Project (http://
to something like __zend_anon_FILE_LINE_COLUMN, but that could be an
unnecessary waste of string memory.
--
Jon Parise (jon of php.net) :: The PHP Project (http://www.php.net/)
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
;s backwards compatible with previous functionality, i.e. if you don't
> return anything, the default handler does not get invoked.
This argument may overrule my preference, of course.
--
Jon Parise ([EMAIL PROTECTED]) :: The PHP Project (http://www.php.net/)
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
#x27;: No such file or directory
Your build is failing here. The error should be self-explanatory.
--
Jon Parise (jon of php.net) :: The PHP Project (http://www.php.net/)
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
Jan doesn't have php-src commit privileges, so he can't fix it
himself.
--
Jon Parise (jon of php.net) :: The PHP Project (http://www.php.net/)
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
wonder of OpenSource doesn't give you the right to be an
ass.
I'm glad the code problem is fixed. I hope the attitude problem will
be fixed as expediently.
--
Jon Parise (jon of php.net) :: The PHP Project (http://www.php.net/)
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
Maintaining documentation.
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
egrate" should be
left for 5.1. Any items marked as "complete" or "finish" are open for
debate. Any items marked as "fix" should be addressed as soon as
possible.
--
Jon Parise ([EMAIL PROTECTED]) :: The PHP Project (http://www.php.net/)
--
PHP Internals - PHP
27;s plenty of that to go around,
> > > and while I realize that everyone wants to get their pet feature added
> > > to or expanded in PHP 5, we need to be realistic.
>
> Jon, the overloading issues were left to beta 2, this was already agreed
> upon.
Okay. I admit that I
e on a concensus first.
>
> +1 (maybe both)?
Please, not both. I think it would be best if there was one way to
get at this information. I don't have a personal preference for
either, though.
--
Jon Parise ([EMAIL PROTECTED]) :: The PHP Project (http://www.php.net/)
--
PHP Internals
Just a note that the addition of sqlite to the PHP build has broken
'make -j' compiling:
In file included from /home/jon/src/php5/ext/sqlite/libsqlite/src/auth.c:19:
/home/jon/src/php5/ext/sqlite/libsqlite/src/sqliteInt.h:17: sqlite.h: No such file or
directory
*** Error code 1
/ho
On Mon, Jul 07, 2003 at 11:41:24AM +0200, Andi Gutmans wrote:
> Naming conventions...
> It should be something like headers_were_sent() (I'm not good with names
> but you get the point :)
http://www.php.net/headers_sent
--
Jon Parise ([EMAIL PROTECTED]) :: The PHP
case 's': case 'b':
> case 'r': case 'a':
> case 'o': case 'O':
> - case 'z':
> + case 'z': case 'Z':
>
On Tue, Jul 29, 2003 at 04:13:03PM +0100, Daniel Lorch wrote:
> > TSRMLS_*
>
> Thread Safe Resource Manager L.. S.. (?). See file comments.
Local Storage
--
Jon Parise ([EMAIL PROTECTED]) :: The PHP Project (http://www.php.net/)
--
PHP Internals - PHP Runtime Development Mai
On Sat, Jul 05, 2003 at 05:39:04PM -0400, Jon Parise wrote:
> Just a note that the addition of sqlite to the PHP build has broken
> 'make -j' compiling:
>
> In file included from /home/jon/src/php5/ext/sqlite/libsqlite/src/auth.c:19:
> /home/jon/src/php5/ext/sqlite/lib
he object is requested. I
can see this being useful for things like object serialization or as a
shortcut for things like the Exception class's toString() method.
The patch is attached. Comments are welcome.
[1] http://www.python.org/doc/current/ref/customization.html
--
Jon P
casting
(that function entry is currently NULL in zend_object_handers.c).
Admittedly, I wasn't comfortable at the time with writing a universal
casting handler, and because I only wanted to deal with string
conversions, I decided to just implement it as a separate dedicated
function entry.
--
Jo
On Tue, Sep 02, 2003 at 11:45:29AM -0400, Jon Parise wrote:
> I chose '__string' to follow the existing convention for "special"
> method names (e.g. __construct, __clone, __call). Also, I suspect
> that many developers are already using toString() methods in their
&
a
more generic, reusable way:
file_exists("somefile.php", ini_get('include_path'))
That would give us some additional mileage out of the change.
For the record, I'm -0 on this. I'd be -1 if it wasn't so obviously
optional.
--
Jon Parise ([EMAIL PROTECTED
7;m sure we all
agree that that's a silly definition of "proper code".
> This by no means is a problem in PHP.
Sorry, I forgot that PHP and PEAR must be playing on separate teams.
--
Jon Parise ([EMAIL PROTECTED]) :: The PHP Project (http://www.php.net/)
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
On Tue, Oct 07, 2003 at 08:36:11PM -0400, Ilia Alshanetsky wrote:
> On October 7, 2003 08:19 pm, Jon Parise wrote:
> > By your definition, the code was "proper" (i.e. did not generate
> > warnings) until the underlying rules were changed, and I'm sure we all
; that it's a bug.
It's really neither. It's a function of the language definition.
''
ends the PHP interpretation. If there's no need to end the PHP
interpretation at the end of a file and return to "normal" output
mode, then the trailing '?>'
php_strip() or
php_strip_whitespace().
I can see these functions being useful in various (albeit rare)
situations.
--
Jon Parise ([EMAIL PROTECTED]) :: The PHP Project (http://www.php.net/)
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
epr__() in that it does not have to be a
valid Python expression: a more convenient or concise
representation may be used instead. The return value must be a
string object.
--
Jon Parise ([EMAIL PROTECTED]) :: The PHP Project (http://www.php.net/)
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
that you provided in this email?
--
Jon Parise ([EMAIL PROTECTED]) :: The PHP Project (http://www.php.net/)
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
Exception()
>
> does not work but the object returned from thrownException() has a
> __toString() method?
Hopefully, this still works (don't have a recent PHP5 build to try):
print (string)$defect->thrownException();
The explicit cast also addresses this case:
print (s
->__toString();
} else {
print $e;
}
}
I don't belong to the "character saving" camp. I'm really after
expressive code that hides away administrative machinery whenever
possible.
--
Jon Parise ([EMAIL PROTECTED]) :: The PHP Project (http://www.php.net/)
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
plement Stringable.
I think that's reasonable, although I think it's generally useful for
all objects to implicitly implement 'Stringable' (in the same way that
they all implement "Cloneable", via the __clone() method, today).
--
Jon Parise ([EMAIL PROTECTED]) :: The PHP Pro
g() method, then the
casting functionality won't be available.
For the record, I'm cool with your interface proposal, too, as long as
it becomes a "standard" interface (i.e. it's a stock PHP interface).
--
Jon Parise ([EMAIL PROTECTED]) :: The PHP Project (http://www.php.net/)
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
s the reference count of the
variable's zval to 1, but the underlying _store_object's reference
count is still incremented. What will ever reclaim that reference on
the _store_object?
I'm still finding my way around the the "new" ZE2 way of doing things,
so please be gentle
e underlying _store_object's reference
> > count is still incremented. What will ever reclaim that reference on
> > the _store_object?
>
> zval_dtor() will. It calls del_ref on the underlying object.
I see. I would have to call zval_dtor() myself in any of the case
the 'scope' field, I end up with a second
reference to the new object.
I don't know if that's intentional or a bug. I'm still getting
familiar with the new object model code.
--
Jon Parise ([EMAIL PROTECTED]) :: The PHP Project (http://www.php.net/)
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
The 'php5' module alias will ensure that ZendEngine2 is checked out
into the 'Zend' directory.
> So, it looks like Visual Studio .NET isn't going to cut it, huh?
It works fine for me. I've been using it all day (building on the
command line and debugging in t
s.[ch].
> Also you should name the constructor '__construct' instead of
> 'python' because the former is the prefered way for ZE2.
That was a remnant of my original (Zend Engine 1) code (where the
constructor had to match the name of the container class). Thanks for
notici
> Checking for resolv.lib ...
> Checking for Release\resolv.lib ...
> Checking for resolv.lib ...
You need to build resolv.lib if you're going to check out the
bindlib_w32 source directory. The compiled library is not stored in
cvs.
--
Jon Parise ([EMAIL PROTECTED]) :: The PHP Project (http://www.php.net/)
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
nce in this comment?
--
Jon Parise ([EMAIL PROTECTED]) :: The PHP Project (http://www.php.net/)
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
ore sense.
> Any votes pro or against?
+1
I hope to use SPL some time soon in the context of my new PHP5-aware
Python extension.
--
Jon Parise ([EMAIL PROTECTED]) :: The PHP Project (http://www.php.net/)
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http:/
ing to apply
> this patch, but before I do can I please get a +1 -1 vote on this?
+0 (I'm comfortable either way with a preference for consistency.)
--
Jon Parise ([EMAIL PROTECTED]) :: The PHP Project (http://www.php.net/)
--
PHP Internals - PHP Runtime Development Mailing List
P 3
(main.c revision 1.354, from 5 years, 11 months ago):
http://cvs.php.net/diff.php/php3/main.c?login=2&r1=1.354&r2=1.355&ty=h
I was kind of hoping it was something you had committed, but no such
luck. =)
--
Jon Parise ([EMAIL PROTECTED]) :: The PHP Project (http://www.php.
you suggesting that it should be
> > >enabled by default?
> >
> > I think we should consider both.
>
> Adding it to the distribution is +1 from me, enabling it by default is a
> -1 personally as I would turn others on by default before this one.
I agree with Der
() your file multiple times, I
don't think adding a reload() function to PHP is going to improve your
situation all that much. The engine would have to do a fair amount of
work to figure out how to "reload" the contents of the external
script.
--
Jon Parise ([EMAIL PROTECTED]) :: T
On Wed, Apr 14, 2004 at 12:41:05PM +0800, Alan Knowles wrote:
> Can someone have a look at cvs.php.net - looks like it's missing
> Horde/Auth/autoo.php
There's a typo in horde/config/conf.php ('autoo' instead of 'auto').
I don't have access to fix it, t
On Wed, Feb 29, 2012 at 8:46 PM, Kris Craig wrote:
> I was thinking something more along the lines of simply throwing an error
> if, say, (int) $a != $a *if *$a is defined as an integer.
>
> --Kris
>
>
> On Wed, Feb 29, 2012 at 5:16 PM, John Crenshaw >wrote:
>
> > > -Original Message
PHP currently allows users to provide type hints for functions and methods,
although the type hints are currently limited to objects and arrays:
http://en.wikipedia.org/wiki/Type_system#Variable_levels_of_type_checking
Restricting the type hinting to arrays and objects makes sense, as PHP's
type j
First, phpunit is a fantastic tool! I'm thankful for your contributions to
all of the PHP community (especially with the code coverage capabilities.)
I speak to your 2 points inline below:
On Wed, Feb 29, 2012 at 9:36 PM, Sebastian Bergmann wrote:
> On 02/29/2012 09:01 PM, Adam Jon Ri
On Thu, Mar 1, 2012 at 4:36 AM, Lazare Inepologlou wrote:
> And, *what if PHP added the following aliases for the hint scalar*:
>
> - bool
>
> - int
>
> - float
>
> - string
>>
>
> If an object has a __toString method, does it qualify as a valid value to
> be passed to a scalar argument? In my opi
On Thu, Mar 1, 2012 at 8:33 AM, Lazare Inepologlou wrote:
> Yes, I agree, the casting (or the failing to cast) has to happen on entry,
> for the reasons that you have very well explained.
>
> However, I cannot understand what it means to cast an object to a scalar.
> Does it always mean casting to
On Thu, Mar 1, 2012 at 8:55 AM, Anthony Ferrara wrote:
> Please do not implement int, float, etc as an alias to scalar. That's
> going to cause nothing but trouble later on. It will instantly close
> the door to any type of casting magic (due to BC concerns), be
> completely non-obvious ("I hin
On Thu, Mar 1, 2012 at 10:36 AM, Lazare Inepologlou wrote:
> Of note, the scalar type hinting I've outlined does not automatically
>> perform casts...
>
>
> Thank you for your answer. Maybe, this exact fact is what I don't like
> about your suggestion. Please read the following RFC, where Lukas S
On Fri, Mar 2, 2012 at 7:51 AM, Anthony Ferrara wrote:
> Well, there are a few questions about the implementation:
>
> 1. *Which* type casting rules should it follow?
>
> a. Regular cast rules (like $foo = (int) $foo), where it converts
> always without error?
> b. Internal function cast rules, w
On Mon, Mar 5, 2012 at 6:04 PM, Kris Craig wrote:
> Personally, I HATE short_open_tab. It has no value-- *except* that,
> unfortunately, it's still widely used in many apps and even some frameworks
> TTBOMK.
I personally like it and find value in its inclusion :)
Adam
On Mon, Mar 5, 2012 at 7:03 PM, Kris Craig wrote:
> Certainly. I don't believe this is about "inclusion" any more than
> creating a function called "ech" as an alias for "echo" would be. The tag, as you all know, creates problems when working with XML. Furthermore,
> I've never understood the
Plugins are a big deal (see
http://oneofmanyworlds.blogspot.in/2012/03/difficult-decision.html for a
recent example.) In this era of mashups and breakneck innovation,
developers must rely on vast amounts of code they've never seen, let alone
audited. Wordpress, Drupal, and many other tools develope
On Tue, Mar 6, 2012 at 3:30 AM, Florian Anderiasch wrote:
> Isn't that basically what all template engines tried to solve before
> with giving you a defined subset of tokens that are more or less
> directly converted to php code? The benefit I see is that plugin
> developers wouldn't need to learn
On Tue, Mar 6, 2012 at 4:38 AM, Stas Malyshev wrote:
> Hi!
>
> Thoughts?
>>
>
> This is a fine idea, however actually doing it is not that easy. Note that
> knowing which function is "safe" is pretty hard, but that's only a start.
> Plugin code, for example, can call functions outside plugin cont
2012/3/6 Ángel González
> On 06/03/12 14:04, Adam Jon Richardson wrote:
> > The sandbox I'm considering would only impact the ability to directly
> call...
> It's not that easy. The internal functions could be splitted to
> safe/unsafe (according
> tosome defi
On Thu, Mar 8, 2012 at 6:08 PM, John Crenshaw wrote:
>
> > Well, if your type hints gets more forgiving, than it's the same that was
> > proposed by this function a((int) $arg) {} And in this case hints have no
> > meaning at all - it's just other syntax to do the conversion that now
> looks
> > l
On Mon, Mar 12, 2012 at 2:49 AM, Rasmus Lerdorf wrote:
> What we really need is what we added in PHP 6. A runtime encoding ini
> setting that is distinct from the output charset which we can use here.
> That would allow people to fix all their legacy code to a specific
> runtime encoding with a s
On Mon, Mar 12, 2012 at 3:52 AM, Stas Malyshev wrote:
> Hi!
>
>
> Ignoring 5.4 for a second, if you in 5.3 do this:
>>
>> echo htmlspecialchars($string);
>> echo htmlspecialchars($string, NULL, "ISO-8859-1");
>> echo htmlspecialchars($string, NULL, "UTF-8");
>>
>> You will see that the first two
On Mon, Mar 12, 2012 at 5:08 PM, Richard Lynch wrote:
> On Tue, March 6, 2012 3:30 am, Florian Anderiasch wrote:
>
> Security by blacklist almost always isn't security...
>
> You're bound to miss one of the functions you should have blacklisted,
> but didn't.
>
Agreed. The approach I'm developi
2012/3/7 Ángel González
> On 07/03/12 00:04, Adam Jon Richardson wrote:
> > It would be the responsibility of the framework or CMS or application
> > to protect against this type of attack (which they do quite well.)
> > When you can force a plugin to work through y
On Sat, Mar 17, 2012 at 10:37 AM, Marco Pivetta wrote:
> Unenforced type hinting:
> - If you have mixed types, then you just don't need type hinting. Lazy
> devs can still avoid using it. Lazyness shouldn't really be
> encouraged, so
> providing some kind of "backwards compatibility
On Sun, Mar 18, 2012 at 7:12 AM, Simon Schick
wrote:
>
> Hi, All
>
> Just to add an example why I want a more strictly type-check here as
> we have in the current type-juggling:
>
> http://www.brandonsavage.net/an-xss-vulerability-in-the-making/?utm_source=rss&utm_medium=rss&utm_campaign=an-xss-vu
On Sun, Mar 18, 2012 at 7:11 PM, Simon Schick
wrote:
> Hi, Adam
>
> I totally agree that type-hinting should not cover what the programmer
> should do for validating the given input ...
> But I just wanted to point out that this is something the author (and
> I) would never expect to happen ...
>
On Mon, Mar 19, 2012 at 12:33 AM, David Soria Parra wrote:
> Migration is underway.
> Will take a while. Import takes a few hours.
> Expect git access to be available by Monday afternoon.
Great work organizing and carrying out this update, David. Git's gonna be
great!
Adam
1 - 100 of 136 matches
Mail list logo