uot;
"movl $0x43e0, 0x4(%0)\n\t"
"movb %1, %c2(%0)\n"
"0:"
:
: "r"(&op1->value),
"n"(IS_DOUBLE),
"n"(ZVAL_OFFSETOF_TYPE)
: "cc");
Can anyone clarify the purpose of the 3 'mov' instructions?
Thanks,
Justin
Maintaining an official, bundled PHP extension
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
Additionally, return type hinting could strengthen the use of interfaces.
That could problems with implementing interfaces (or an API) from having
to do checking to ensure a method in a class implementing an interface
is behaving as it should (returning the right stuff).
On 2/28/2012 12:35
Someone actually just pointed out to me that if(-1) returns true. In
that case, I suppose my suggestion doesn't quite work.
The reason I suggest this is that I suspect people will constantly be
looking up what the constants are called.
On 12-01-28 11:17 AM, Justin Martin wrote:
E = 0
- PHP_SESSION_ACTIVE = 1
This way, one can do if(session_status()) to check if there is an active
session, rather than having to compare the result to a constant.
Any objections?
Thanks,
Justin Martin
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit:
ugh.
I'd like to propose simply changing the term "bogus" to "not-bug". This
would more politely and clearly indicate the nature of the way the bug
is being closed, in addition to the comment that one ordinarily leaves.
Those I've spoken to in php.doc agree. Any
Now hold on a sec - It's ok to vote to determine the fate of PHP
development - for the entire PHP-lovin' world.
Yet, it's not ok to vote for the handful of developers to collaborate?
Three weeks of discussion (based on what I've seen here on the list)
seems not enough for such a heavy change.
On 8/14/2011 3:42 PM, Lester Caine wrote:
Gwynne Raskind wrote:
The only real disadvantage to hg is having to handle python code to
maintain
> it, people might start converting from PHP;) Although phphgadmin is
a start
> to improving the php interface support and could be a good start at
a fully
GitHub (and Bitbucket) have made forking a social endeavour - it's meant
to be a noisy space of code forks for collaboration just as Stas mentioned.
Bottom line: *if* a DVCS is adopted - enhancing policies and a process
that supports little additional burden on maintainers is required.
Having
I've sifted through the RFC for the array shorthand changes which are
quite nice. Something I'm sure has been brought up, but possibly not
recently: shorthand array splice. Has there been any notion to the
introduction of this feature in the future?
The reason I bring this up is it seems that
o spam everyone with a wall of text about them.
Justin Carmony
On Jun 13, 2011, at 9:12 AM, Rafael Dohms wrote:
> On Mon, Jun 13, 2011 at 10:16 AM, David Coallier wrote:
>> See response inline.
>> ...
>> See Pierre, that's where I believe we are doing things wrong. We
+1
Sent from my iPhone
On Jun 2, 2011, at 4:19 AM, Patrick ALLAERT wrote:
> Hi,
>
> I would like to introduce an E_NOTICE when an array is silently
> converted to a string.
> This isn't very useful as it constantly produces the following string:
> "Array" and in most of the case, this is a sign
(which we need to add to the RFC), you can cut
down on a lot more verbose code, especially with objects.
$person = { 'name' => 'Justin',
'city' => 'ogden',
'state' => 'ut',
'country' => 'usa',
s of the PHP
community as a whole.
I know I'm newer to the list, and don't want to step on any toes, but I think
the RFC process could really benefit from getting this type of feedback.
Justin Carmony
On Jun 1, 2011, at 8:37 AM, Philip Olson wrote:
>
> On Jun 1, 2011, at 7:30
27;, 'var2': 'two' ]; // for an array
// even mix and match
$person = {
'name': 'Justin',
'city': 'Ogden'
'phones' : [
'home': '555-3928',
'work': '555-3922'
]
};
echo $person-&
would love to help put together whatever is required
for a new RFC, and do anything to help others who don't see the use for the
short notation.
Justin Carmony
On May 31, 2011, at 12:42 PM, Brian Moon wrote:
> https://wiki.php.net/rfc/shortsyntaxforarrays
>
> Since this was bro
ith a better understanding of the compile process
illuminate me as to all of the reasons why chroot might not be available?
Thanks,
Justin Martin, a.k.a. FrozenFire
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
If you want some quick ipv6 gruntwork
http://bugs.php.net/bug.php?id=47435
I worked out all but one case. I submitted a patch of the partial work.
Justin
On May 12, 2010 5:46 PM, "Mathias Grimm" wrote:
thanks.
2010/5/12 Johannes Schlüter
> On Wed, 2010-05-12 at 17:23 -
holding things up. Is there any action I have failed to take in my attempts
to resolve this ticket, or do I just have to be patient?
Thanks,
Justin
-- Forwarded message --
From: PHP Bug Database
Date: Fri, 2 Apr 2010 20:51:16 +0200 (CEST)
Subject: Req #50698 [Opn->Asn]: SoapCli
version of PHP so people will gravitate towards it as an easy to use
> built-in mechanism as opposed to rolling their own over and over.
>
I'm all about reusing code.
Before I open the ticket, can someone propose a better constant name than
FILTER_FLAG_INCLUDE_CIDR_NETMASK.
Justin
_NETMASK that does match.
I second Mike G's proposed additional "FILTER_FLAG_NO_SPECIAL_RANGE" that
captures the union of the other sets as a convenient shortcut.
Justin
etive macro expansion?
Justin
me
test" or "I wrote this patch on linux, I need someone to make it work on
windows too" or, "Party X complains of this but refuses to fill out a proper
bug report."
Justin
I did not hit "reply-all"
-- Forwarded message ------
From: Justin Dearing
Date: Mon, Apr 5, 2010 at 4:50 PM
Subject: Re: [PHP-DEV] Newbie contributor question, nmake test will not run
my patch
To: Pierre Joye
Pierre,
Thank you for your reply. Allow me to clarify.
I me
ell.
What am I doing wrong and where is the link explaining what I am doing
wrong?
Justin
n the code. However, if someone could give me some insight into
what in the php code could repress calls to php_error() below the E_ERROR
severity it would be helpful.
Regards,
Justin Dearing
-- Forwarded message ------
From: Justin Dearing
Date: Sun, Jan 17, 2010 at 11:03 AM
Subje
Are there changelogs available without downloading?
I keep digging but can't find one - only for standard releases
(http://www.php.net/ChangeLog-5.php#5.2.11)
>>> On 10/20/2009 at 17:31, Johannes Schlüter
wrote:
The second release candidate of 5.3.1 was just released for testing
and can be d
Just a friendly prodding. Was this ever added?
Thanks,
Justin Martin
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
I suppose it's an issue of cloning. Perhaps there's some difference
between a cloned closure and a referenced closure?
Thanks,
Justin Martin
Peter Danenberg wrote:
>> First, we define $foo and load it with NULL so that it is available for
>> referencing.
>
>
ence to $foo in the closure declaration now
points to the closure itself.
Recursion is always complicated :P
Thanks,
Justin Martin
Peter Danenberg wrote:
> Quoth Justin Martin on Pungenday, the 30th of Discord:
>> Apparently it works as such:
>>
>> $foo = NULL;
In addendum I'd like to correct the syntax that I had someone in IRC test.
Apparently it works as such:
$foo = NULL;
$foo = function($foo) use (&$foo) {
...
}
Still rather hackish, but better than globals I suppose?
Thanks,
Justin Martin
Justin Martin wrote:
> Hi Pete
Hi Peter,
If I recall correctly, you can use the 'use' keyword.
$factorial = function($foo) use ($factorial) {
$factorial($foo);
}
$factorial('Hello World!');
I'm still having issues compiling 5.3 on my system, so I haven't tested
this.
Thanks,
Justin
want
their stylesheet included.
Thanks,
Justin
Davey Shafik wrote:
> Why not just re-use the same highlight.*, they can be colors or classes...
>
> or
>
> you switch this based on "highlight.use_external_styles". You could also
> add a: "highlight.add_styleshe
y a fairly large job, and
certainly not one that would be "just committed," but I believe it would
be of benefit to developers.
Thanks,
Justin
Kalle Sommer Nielsen wrote:
> Hi Justin
>
> 2009/4/2 Justin Martin :
>> Hello everyone,
>>
>> I'd like to
sion
structure. If I've submitted my proposal poorly, I apologize.
Please offer any comments you have.
Thank you,
Justin Martin aka FrozenFire
Index: Zend/zend_highlight.c
===
RCS file: /repository/ZendEngine2/zend_highlight.c,v
ret
+1 for option 3, http://wiki.php.net/rfc/namespaceissues
Really don't want to see option 2.
Richard Quadling wrote:
2008/10/15 Greg Beaver <[EMAIL PROTECTED]>:
Hi,
http://wiki.php.net/rfc/namespaceissues
Read it and discuss. Let's be clear people: the technical problems in
namespaces ar
I vote for option 3.
http://wiki.php.net/rfc/namespaceissues
Seems like the best fit all around.
Steph Fox wrote:
Hannes, Lester...
Can we please start small and then incrementally add more features?
Lets start with classes only in namespaces in 5.3.
The problem with that statement is
Justin Martin wrote:
Hi there,
I have a suggestion regarding get_headers, however I do not have a
knowledge of C with which to provide a patch.
The function get_headers is, as most will know, used to retrieve headers
generated by an HTTP request. The primary parameter to this, "string
g transparent.
Any comments?
Thanks,
Justin Martin
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
Pierre Joye wrote:
Hi Justin,
...
It has been moved out of php-src because the extension was not
maintained. It is in PECL's cvs but has no release (still not
maintained):
http://cvs.php.net/viewvc.cgi/pecl/w32api/
FFI is much more powerful yes. But it has been developed independent
shed some light on this issue?
Regards,
Justin
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
c conversion of pear code to php 5 code.
>
You could do this with a post-install script quite easily. I don't
think this is the point, however. Making code E_STRICT isn't really
important. The thing that Greg wants to do is drop PHP4 support
completely. This would make the code less c
Please let me correct my last post, and sorry for the double posting :)
Justin Hannus wrote:
The way ActionScript 2.0 solves this is
function __get fooProp()
{
return $this->_fooProp; // $_fooProp is read only
}
function __set barProp($
...And, this could allow static member overloading as well!
-Justin
Justin Hannus wrote:
The way ActionScript 2.0 solves this is with set and get keywords on
function declarations. Any class can contain as many setter/getters as
they need,. Since we dont want to introduce any new keywords how
the existing rules apply.
-Justin
Derick Rethans wrote:
Hello!
we're finding some problems with property overloading (__get() and
__set()). Here is an RFC describing what we'd like to see changed.
Please comment on this.
Introduction:
PHP currently supports property overloading w
Is there plans to allow ftruncate calls on user defined stream wrappers?
i.e. The wrapper class would implement:
bool stream_truncate(int length);
-justin
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
post i sent to
pecl.dev, I'm not even sure if PDO_ODBC supports IBM-DB2v7.2. Can
someone confirm this?
Justin Hannus
Software Engineer | Lycos Inc.
[EMAIL PROTECTED]
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
ike if defined would
really slow down the engine. But, i think this could work well in many,
many different situations. Maybe only a subset of operators are
overloadable with this method.
-Justin
Derrell Lipman wrote:
I came across an interesting desire today. I'd like to create a new clas
ike if defined would
really slow down the engine. But, i think this could work well in many,
many different situations. Maybe only a subset of operators are
overloadable with this method.
-Justin
Derrell Lipman wrote:
I came across an interesting desire today. I'd like to create a new clas
buggy configure scripts from running buildconf. try checking the
versions on your system vs. the versions recommended for building php.
http://www.php.net/anoncvs.php
http://www.php.net/manual/en/install.macosx.php
-justin
D. Walsh wrote:
I've been trying to build PHP in Mac OS X Server 10.4.0
T
#if COMPILE_DL_CARBONAE
ZEND_GET_MODULE(carbonae)
#endif
This is done for you with ext_skel or Pecl::Gen, assuming the name of
your extension is "carbonae".
-Justin
Michael Johnston wrote:
Hi,
The config is:
PHP_ARG_WITH(carbonae, for carbonae support,
[ --with-carbonae Inclu
wrapping. Sounds interesting.
-Justin
Michael Johnston wrote:
(I'm not sure if extension development belongs on this list, but I
couldn't find a better one. If there is a more appropriate list, could
someone please point me to it?)
I am working on an extension that is os x specific &
ooking for an excuse to learn more about both.
so i'm willing, but i don't really know what it entails, nor whether
i'd be suitable.
if i'm not suitable, fair enough. either way, can someone point me to
some resources or send me something off list that will give more of an
idea of
t be the best idea to
implement function/classes with keyword names from other languages but the
terms best describe my problem. Maybe I'll prefix them.
EOT
-Justin
"Zeev Suraski" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> At 21:06 16/08/2004, Marcus
Thanks.
I figured as much but when I implemented this the terms 'Namespace' and
'import' just sounded so sexy to me.
-Justin
"Marcus Boerger" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hello Justin,
>
> Monday, August 16, 2004, 4
de|require[_once]
dubbed 'Namespace' with static method Namespace::import(). I'm just
wondering if 'namespace' and 'import' is reserved for future use before I
port all my code to php5.
Thanks,
-Justin Hannus
"Zeev Suraski" <[EMAIL PROTECTED]> wro
David Carter wrote:
Hi,
I'm developing a standalone module that needs to hook into another
Apache module. I need a pointer to a request record (request_rec) to
make the apache call, but I can't seem to find how to access one from a
module. (or alternatively, a way to get a current request from with
--force in a freshly
un-tarred 4.3.7 release works great.
http://us4.php.net/manual/en/faq.build.php may have some info on the
autoconf versions you'll need.
-Justin Hannus
>
> Any ideas how to fix this. There were some other errors but I have fixed
> those. This error seems to be
My reason is actually to submit to a PEAR module I have just been added as a developer
to. DB_DataObject_FormBuilder. I have talked to Markus Wolff (the package lead) and
he's ok with my commiting to CVS for this package.
The username listed below is my PEAR username.
--
PHP Internals - PHP
Developing the PHP runtime
Help Main the documentation
Help maintain an official, bundled PHP extension
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
IMHO if php is going to have the option to use type hinted parameters (which
I really like) then it should have the option to use type hinted variables
as well. Half stepping with the type hints are just going to complicate
things. Afterall, NULL is a value and not a type. And if you use a type
hin
Actually, although suppressing the E_NOTICE, this is not exactly the
behavior you want.
What if $_GET['Does']['Not']['Exist'] really doesn't exists? It is then
created and assigned to $param when passed as an argument to the param
function. Therefore polluting $_GET with another unused array and a
> echo setor($required_variable, die('error...');
> or
> echo setor($error, '');
> or
> echo setor($sMessage, $sDefaultMessage).
> or
> $z = setor($_GET['z'], 'Default');
> $z = setor($_GET['z'], 'Default');
Whats wrong with defining a user-level function?
function setor_array(&$array, $key, $def
_LIBRARY(stdc++,,XSLT_SHARED_LIBADD)
AC_TRY_RUN([
#include
#include
@@ -162,6 +163,5 @@
PHP_ADD_INCLUDE($XSLT_DIR/include)
PHP_ADD_LIBRARY_WITH_PATH($XSLT_LIBNAME, $XSLT_DIR/lib,
XSLT_SHARED_LIBADD)
-
AC_DEFINE(HAVE_XSLT, 1, [ ])
fi
------
maintaining opendirectory extension
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
not so sure if i'll really need one at this point but.
for further developing, versioning and testing of newly proposed "opendirectory"
extension.
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
will do :)
"Wez Furlong" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hey Justin,
>
> I guess most people have been a little too busy over the christmas
> break.
>
> The quickest way is to fill out the pecl account form on pecl.php.net.
>
&g
previously posted on php.pecl.dev
---
I've posted a couple messages in the past week or so proposing an extension
I'm working on to the pecl.dev list but no responses, not even a -1. Is
there a better way to make a proposal??
"Justin Hannus&quo
etter place for the question.
-Justin Hannus
"VIVI arno" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hello,
>
> I try to build an extension for my pleasure.
> I would like to make a function which return me an array of variable
arrays. For exampl
g it in userland with a
recursive function that merges properties, that's way to much unnecessary
work. Why not just manually de-reference the object on subsequent method
calls?
-justin
"Bdkr" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> jason davidson wrote
ariables. Any thoughts on this would be appreciated.
Thanks,
--
Justin Hannus
Lead Programmer/Web Development
[EMAIL PROTECTED]
www.visualconceptsinc.com
[860] 242.1150 ext.125
[860] 242.1446 fax
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
Maybe this was the wrong list to post to..
but for those of you who come across the same problem, I fixed it by
removing the array subscripts and using scalar values instead. AC_DEFINE*
and probably all the m4 macros strip all ['s and ]'s from your config.m4
file.
-JH
&quo
(DS_SOURCEVERSION,
"$ds_plist[$((i+1))]", [DS version.plist value SourceVersion]);;
*BuildVersion*)
AC_DEFINE_UNQUOTED(DS_BUILDVERSION,
"$ds_plist[$((i+1))]", [DS version.plist value BuildVersion]);;
Aahh, I didn't see that in your original message :)
"Lukas Smith" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> > From: Justin Hannus [mailto:[EMAIL PROTECTED]
> > Sent: Tuesday, September 30, 2003 8:12 PM
> >
> > I agree with Wez
I agree with Wez, what if you are searching for a file with a relative file
path, e.g:
wrote in message
news:[EMAIL PROTECTED]
> Using the include path for file_exists doesn't sound useful to me, for
> similar reasons as those for not allowing to write a file in the include
> path - which file ar
Hello All,
IMHO. I agree with Andi, but the only way to I see fit to implement this is
through polymorphism. If every object is a subclass of an Object class then
passing a NULL reference would make more since and be perfectly legal.
-Justin Hannus
"Andi Gutmans" <[EMAIL PROTECT
So it seems like to get the same functionality, in userland, why not just:
$_APPLICATION = &$_SESSION
-Justin
"Davey" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Wojtek Meler wrote:
> > Davey wrote:
> >
> >> MMCache can be used
"Rasmus Lerdorf" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Can't you get a line number and the actual address being accessed to cause
> that crash?
Here is a more detailed backtrace. In my original post I was using php-4.3.0
but the recompiled version with --enable-debug I'm u
> so - just try to build your extension static into php, debug
> it and build it shared once you have no leaks left
>
Thanks, I'll try that.
-Justin Hannus
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
ot get a chance to until later tonight.
-Justin Hannus
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
000
r24: 0x r25: 0x r26: 0xb968 r27: 0x0010
r28: 0x0003 r29: 0xb97c r30: 0xbfffdf50 r31: 0x0018ade8
--
Justin Hannus
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
> do you use any shared php extensions by any chance?
Yes, I'm developing an extension to wrap Apple's OpenDirectory API (reffer
to my first post). Thats the only shared extension that I'm using.
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php
Ahh, yes. Please excuse my ignorance :)
"Alan Knowles" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Justin Hannus wrote:
>
> >When writing an extension for an API (non-oop) that uses "studlyCaps"
naming
> >style, which naming style sho
When writing an extension for an API (non-oop) that uses "studlyCaps" naming
style, which naming style should be respected? PHP's underscore_delimited
naming or the existing API's studlyCaps style?
--
Justin Hannus
--
PHP Internals - PHP Runtime Development Mailing List
T
Oops!
<[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> On Wed, 25 Jun 2003, Justin Hannus wrote:
>
> > 1
> > 2 > 3 session_start();
> > 4 ?>
> > 5 session inizializzata
> >
> > It appears that line 1. has the "output"
1
2
5 session inizializzata
It appears that line 1. has the "output" that forces the headers sent, in
this case, just a newline. Anything outside the tags are treated as
STDOUT forcing the php module to send the headers before you start your
session. Try moving your
4 session inizializzata
"
hared and -rdynamic flags. I'm
not sure how to debug this problem cause I'm not exactly sure what lib
I'm actually linking to, and the documentation is somewhat vague. Can
someone point me in the right direction??
Thanks,
Justin Hannus
<[EMAIL PROTECTED]>
hared and -rdynamic flags. I'm
not sure how to debug this problem cause I'm not exactly sure what lib
I'm actually linking to, and the documentation is somewhat vague. Can
someone point me in the right direction??
Thanks,
Justin Hannus
<[EMAIL PROTECTED]>
88 matches
Mail list logo