Hi!
zend engine and php internals are macro-oriented programing...
Zend Engine and PHP internals is not the code you deal with every day.
Especially not the PHP code you deal with.
PHP is supposed to be simple to read and understand, and heavy use of
macros (like ZE code does) would certain
there are particupal points to aply a macro, like $_GLOBALS,like eval...
particular reasons.
zend engine and php internals are macro-oriented programing...
you can define a pattern(prefix,sufix,etc...) to ensure the purpose of
macros, avoiding doubts..
RET_IF_ERR is a clean macro..
MACRO_1 is a
On Thu, 23 Dec 2010 00:48:44 -, Mathias Grimm
wrote:
On Wed, Dec 22, 2010 at 7:47 PM, James Butler
wrote:
i could replace with a macro:
MACRO("HND_ERR","if ($obError->hasError()) { return $obError;)")
$obError = $object->fetch($params,$transaction);
HND_ERR
So, not only do you want
On Wed, Dec 22, 2010 at 7:47 PM, James Butler <
james.but...@edigitalresearch.com> wrote:
"What you are doing looks to be just slightly re-inventing the wheel for
very little gain. If you are copy and pasting code 'DRY violation' then you
probably need to rethink your code and/or make a new class/f
On Dec 22, 2010, at 4:38 PM, Mathias Grimm wrote:
> People always will want more, but some features are nice.
> for C/C++ programmers, macro is on of the best things to make thing work
> every where.
>
> its possible to create a IDE macro, but the native php feature will be good.
> template engine
Am 22.12.2010 20:43, schrieb Stas Malyshev:
> And then run it through CPP (gcc -Mcpp -E - - < in.php > out.php) and
> get all the macros processed?
That would be too easy ;-)
--
Sebastian BergmannCo-Founder and Principal Consultant
http://sebastian-bergmann.de/
-Original Message-
> From: Mathias Grimm [mailto:mathiasgr...@gmail.com]
> People always will want more, but some features are nice.
> for C/C++ programmers, macro is on of the best things to make thing work
> every where.
>
> its possible to create a IDE macro, but the native php featur
People always will want more, but some features are nice.
for C/C++ programmers, macro is on of the best things to make thing work
every where.
its possible to create a IDE macro, but the native php feature will be good.
template engines can de wrap this functionality too.
is just like a variable:
I really dislike this, what about resolving orders, then people will want
undef, then ifdef with conditions.
The language doesn't need to introduce anything that makes it more complex to
use.
- Scott
On 22 Dec 2010, at 11:55, Mathias Grimm wrote:
> I Just want a simple replace-on-the-air to
I Just want a simple replace-on-the-air to avoid spend time writing more.
On Wed, Dec 22, 2010 at 5:43 PM, Stas Malyshev wrote:
> Hi!
>
>
> I want to request a C/C++ feature that i think is good.
>>
>> MACRO
>>
>
> You know that you could write:
> #define PF private function
> #define SCOPE_CL
Hi!
I want to request a C/C++ feature that i think is good.
MACRO
You know that you could write:
And then run it through CPP (gcc -Mcpp -E - - < in.php > out.php) and
get all the macros processed?
--
Stanislav Malyshev, Software Architect
SugarCRM: http://www.sugarcrm.com/
(408)454-6900 ext
Hi.
>
> I would suggest to first open a bug report, attach the patch and then
> let see how it goes, and repeat it for the next couple patches :) This
> is the usual way to get a SVN account.
http://bugs.php.net/bug.php?id=53594
But it seems it will go exactly as bug #51336 does - there is no
pers
Am 22.12.2010 18:11, schrieb Mathias Grimm:
> I want to request a C/C++ feature that i think is good.
> MACRO
* https://github.com/andreiz/prep (extension for the PHP interpreter)
* https://github.com/theseer/preprocessor (userland implementation)
--
Sebastian BergmannCo-Fo
wrote:
> I want to request a C/C++ feature that i think is good.
>
> MACRO
>
> MACRO('PF','private function _');
> MACRO('SCOPE_CLASS','class MyProject_');
>
> class UseMacro
> {
> PF preSave($object)
> {
>//...
> }
>
> }
>
> SCOPE_CLASS Internal
> {
>
> }
>
> I don know if th
I want to request a C/C++ feature that i think is good.
MACRO
On Mon Dec 20 06:21 PM, Stefan Marr wrote:
>
> = Handling of Properties/State =
>
> This property handling was implemented in
> [[http://svn.php.net/viewvc?view=revision&revision=306476|SVN revision
> 306476]] and examples are given in the test cases.
>
+1
The E_STRICT warning seem
hi,
I would suggest to first open a bug report, attach the patch and then
let see how it goes, and repeat it for the next couple patches :) This
is the usual way to get a SVN account.
Cheers,
On Wed, Dec 22, 2010 at 4:23 PM, Larry Adams wrote:
> He has a patch for snmp. Adds multi-oid support.
He has a patch for snmp. Adds multi-oid support.
Sent via DROID on Verizon Wireless
-Original message-
From: Antony Dovgal
To: internals@lists.php.net
Sent: Wed, Dec 22, 2010 15:16:42 GMT+00:00
Subject: Re: [PHP-DEV] SVN Account Request: lytboris
On 12/22/2010 06:09 PM, Larry Adams wr
On 12/22/2010 06:09 PM, Larry Adams wrote:
> I support. He has one of the worlds largest cacti installs and I have
> reviewed and found the patch good.
Which patch are you talking about?
--
Wbr,
Antony Dovgal
---
http://pinba.org - realtime statistics for PHP
--
PHP Internals - PHP Runtime
I support. He has one of the worlds largest cacti installs and I have
reviewed and found the patch good.
Regards,
Larry Adams
aka TheWitness
www.cacti.net
Sent via DROID on Verizon Wireless
-Original message-
From: Antony Dovgal
To: internals@lists.php.net
Sent: Wed, Dec 22, 2010 1
On 12/14/2010 10:10 PM, Boris Lytochkin wrote:
> Mantain ext/snmp extension: src & docs
Did somebody recommend you to apply for an account? (..and is ready to vouch
for you?)
Or did you start sending patches and have reached a moment when an account is
really needed?
--
Wbr,
Antony Dovgal
---
Hi.
Can anyone take a look at http://bugs.php.net/bug.php?id=53166?
I've supplied the php-src 5.3 and trunk patches to correct the
prototype and reflection.
Once done, I can correct phpdoc.
Richard.
--
Richard Quadling
Twitter : EE : Zend
@RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY
--
22 matches
Mail list logo