[PHP-DEV] Problem with overwriting private property value with ReflectionProperty

2016-09-19 Thread Christian Stoller
Hi, I have spent several hours with a strange problem with reflection. There's an object of an external lib with a private field and I have to overwrite its values. Because there is no public method I am using ReflectionProperty like this: $reflProp = new \ReflectionProperty(Extension::class,

[PHP-DEV] Problem with php_value open_basedir and apache containers

2012-11-16 Thread Alain Williams
I have just run into this, there is a much earlier similar issue in Apache bugzilla where they refer the problem php: https://issues.apache.org/bugzilla/show_bug.cgi?id=24120 In the apache config file I have the something like the following in a virtual host definition: php_value open_

[PHP-DEV] Problem with zend_alter_ini_entry

2012-03-15 Thread Simone Caruso
Hi list, i'm new on the list so im sorry if this problem has been already discussed. I have an Apache module that, in translate_name hook, sets PHP ini values at runtime with zend_alter_ini_entry() (mod_php). The systems used for tests is a debian lenny, with php5.3.3 manually compiled from debia

Re: [PHP-DEV] Problem with PHP as a plugin (C++) using embed sapi

2011-10-15 Thread Olivier Hoareau
Hi Johannes, Many thanks ! I think SAPI approach is a good one for my purpose, I can then avoid using directly the PHP/embed global variables and use functions (i.e. the stable api you mention) to manipulate these structures. I need to create new SAPI and compile libphp5.so including this SAPI

Re: [PHP-DEV] Problem with PHP as a plugin (C++) using embed sapi

2011-10-14 Thread Johannes Schlüter
Hi, On Fri, 2011-10-14 at 10:49 +0200, Olivier Hoareau wrote: > * My use case : > > [A] is a main program written in C++ > [B] is a C++ "plugin" of [A], compiled in a shared library dynamically loaded > (dlopen-like functions) > [CX] are a libphpX.so C shared libraries compiled with "--enable-em

[PHP-DEV] Problem with PHP as a plugin (C++) using embed sapi

2011-10-14 Thread Olivier Hoareau
* My use case : [A] is a main program written in C++ [B] is a C++ "plugin" of [A], compiled in a shared library dynamically loaded (dlopen-like functions) [CX] are a libphpX.so C shared libraries compiled with "--enable-embed", where "X" is the PHP version number (5.4, 5.3, ..., 5.0) User calls

Re: [PHP-DEV] Problem with tsrm_realpath_r on Windows

2011-02-26 Thread Pierre Joye
hi, Please open a bug report at bugs.php.net with the test case(s). Cheers, On Sat, Feb 26, 2011 at 2:11 PM, Carsten Wiedmann wrote: > Hello list, > > at the moment I'm having a problem with most filesystem functions (because > they are using  tsrm_realpath_r internally) and a special situation

[PHP-DEV] Problem with tsrm_realpath_r on Windows

2011-02-26 Thread Carsten Wiedmann
Hello list, at the moment I'm having a problem with most filesystem functions (because they are using tsrm_realpath_r internally) and a special situation. Steps to reproduce: | md test1 | mklink /j test test1 | icacls test /deny *S-1-1-0:(rd) at this point I can't create/write to a file in

Re: [PHP-DEV] problem with header() and php trunk

2011-02-25 Thread Pierre Joye
hi Carsten, Thanks for the report and the patch (applied)! Cheers, On Fri, Feb 25, 2011 at 11:36 AM, Carsten Wiedmann wrote: > Am 24.02.2011 23:56, schrieb Carsten Wiedmann: >> >> Oh, this only happens with trunk, but not with e.g 5.3.5. But just see >> the difference: > > OK, this bug was intr

Re: [PHP-DEV] problem with header() and php trunk

2011-02-25 Thread Carsten Wiedmann
Am 24.02.2011 23:56, schrieb Carsten Wiedmann: Oh, this only happens with trunk, but not with e.g 5.3.5. But just see the difference: OK, this bug was introduced in r301263. It's removing +1 char while cutting LWS at the end of a header line. << --EXPECTREGEX-- .*string\(17\) \"x-headertest:

Re: [PHP-DEV] problem with header() and php trunk

2011-02-24 Thread Carsten Wiedmann
On 24/02/11 10:41 PM, Ben Schmidt wrote: On 25/02/11 3:28 AM, Carsten Wiedmann wrote: this code is not working with the current trunk: >> | | header('Content-Language: '); >> | ?> The result is an internale server error: >> | [Thu Feb 24 17:21:25 2011] [error] [client ::1] malformed header

[PHP-DEV] problem with header() and php trunk

2011-02-24 Thread Carsten Wiedmann
Hi list, this code is not working with the current trunk: | The result is an internale server error: | [Thu Feb 24 17:21:25 2011] [error] [client ::1] malformed header from | script. Bad header=Content-Language: php-cgi.exe Without only a space after ":" | header('Content-Language:'); or | he

Re: [PHP-DEV] Problem connecting to mysql with latest windows snapshots

2009-10-29 Thread holografix
Hi Pierre Thanks for the tip. It works now. Both working and no-working box are Windows Vista 32 and both have Apache/2.2.13 (Win32) from apachelounge.com. There was some change since september 27th because both boxes are equal: same OS, same Apache and same Mysql version (5.1.40-community). T

Re: [PHP-DEV] Problem connecting to mysql with latest windows snapshots

2009-10-29 Thread Pierre Joye
hi, On Thu, Oct 29, 2009 at 10:57 PM, holografix wrote: > Hi > Thanks for answering. Same problem with > php-5.3.2-dev-nts-Win32-VC9-x86-200910281000. Forgot to say that in another > windows box there is a snapshot from September 27th and it is working > without problems. Please try again with c

Re: [PHP-DEV] Problem connecting to mysql with latest windows snapshots

2009-10-29 Thread holografix
Hi Thanks for answering. Same problem with php-5.3.2-dev-nts-Win32-VC9-x86-200910281000. Forgot to say that in another windows box there is a snapshot from September 27th and it is working without problems. From phpinfo() in that box Build Date Sep 27 2009 01:57:01 Compiler MSVC9 (Visual C+

Re: [PHP-DEV] Problem connecting to mysql with latest windows snapshots

2009-10-29 Thread Pierre Joye
hi, Can you try a snaps from yesterday please? But I doubt this fix affects windows. http://windows.php.net/downloads/snaps/ Cheers, On Thu, Oct 29, 2009 at 8:06 PM, holo wrote: > Hi > Don´t know if it is a bug but latest Windows snapshot fails to connect to > mysql. pdo_mysql gives SQLSTATE[H

[PHP-DEV] Problem connecting to mysql with latest windows snapshots

2009-10-29 Thread holo
Hi Don´t know if it is a bug but latest Windows snapshot fails to connect to mysql. pdo_mysql gives SQLSTATE[HY000] [2002] and even a simple mysql_connect("host", "user", "pass") fails with error [2002] (trying to connect via tcp://localhost:3306 Maybe it is related with bug #50023 ? Didn't try

Re: [PHP-DEV] problem with apache segfault

2009-03-27 Thread William A. Rowe, Jr.
jvlad wrote: #2 0x2c145afb in apr_pool_destroy () from /usr/lib64/libapr-1.so.0 No symbol table info available. See http://httpd.apache.org/dev/debugging.html on how to grab the -win32-symbols.zip package. Unpack it over httpd and you will probably have more legible backtraces. Ens

Re: [PHP-DEV] problem with apache segfault

2009-03-26 Thread jvlad
""William A. Rowe, Jr."" wrote in message news:49cb613b.4070...@rowe-clan.net... > Rathnakar Konda wrote: >> after observing lots of core dumps from apache, we got a different >> segfault and its back trace is given bellow >> >> #0 0x2aaab1c46688 in ZEND_FETCH_DIM_RW_SPEC_VAR_UNUSED_HANDLER

Re: [PHP-DEV] problem with apache segfault

2009-03-26 Thread William A. Rowe, Jr.
Rathnakar Konda wrote: after observing lots of core dumps from apache, we got a different segfault and its back trace is given bellow #0 0x2aaab1c46688 in ZEND_FETCH_DIM_RW_SPEC_VAR_UNUSED_HANDLER ( execute_data=0x714ea6c8) at /usr/local/src/php/php-5.2.9/Zend/zend_vm_execute.h

[PHP-DEV] problem with apache segfault

2009-03-26 Thread Rathnakar Konda
Hi Guys, We are have a problem with apache segfault on our production server. Please read bellow for description. Its a web application written in php5 and implemented most of the oop concepts and lot of regular expressions, curl, mcrypt, simplexml, mssql, exceptions and user defined error handl

Re: [PHP-DEV] problem with apache segfault

2009-03-26 Thread Rathnakar Konda
Cc: internals@lists.php.net Sent: Thursday, 26 March, 2009 1:55:51 PM Subject: Re: [PHP-DEV] problem with apache segfault Note that your backtrace doesn't touch PHP at all. It is entirely in Apache land and it is a crash on a graceful shutdown. -Rasmus Rathnakar Konda wrote: > Hi Guys,

Re: [PHP-DEV] problem with apache segfault

2009-03-26 Thread Rasmus Lerdorf
Note that your backtrace doesn't touch PHP at all. It is entirely in Apache land and it is a crash on a graceful shutdown. -Rasmus Rathnakar Konda wrote: > Hi Guys, > > We are have a problem with apache segfault on our production server. Please > read bellow for description. > > Its > a web a

Re: [PHP-DEV] problem with include_path and write-based file functions

2008-12-17 Thread Lukas Kahwe Smith
On 09.12.2008, at 20:50, Gregory Beaver wrote: file, it should only be used to find existing files. In any case, I think allowing include_path to be used at all for file modification is horrendous, and think it should be deprecated and removed from PHP 6. We should simply add file_resolve_path

Re: [PHP-DEV] problem with include_path and write-based file functions

2008-12-17 Thread Hannes Magnusson
On Wed, Dec 17, 2008 at 22:30, Lukas Kahwe Smith wrote: > > On 17.12.2008, at 22:24, Hannes Magnusson wrote: > >> On Wed, Dec 17, 2008 at 21:02, Lukas Kahwe Smith >> wrote: >>> >>> which brings us back to the fact that we never added a proper way to be >>> able >>> to determine if a file exists i

Re: [PHP-DEV] problem with include_path and write-based file functions

2008-12-17 Thread Lukas Kahwe Smith
On 17.12.2008, at 22:24, Hannes Magnusson wrote: On Wed, Dec 17, 2008 at 21:02, Lukas Kahwe Smith wrote: which brings us back to the fact that we never added a proper way to be able to determine if a file exists in the include path or not. this is why a lot That is simply not true. st

Re: [PHP-DEV] problem with include_path and write-based file functions

2008-12-17 Thread Hannes Magnusson
On Wed, Dec 17, 2008 at 21:02, Lukas Kahwe Smith wrote: > > which brings us back to the fact that we never added a proper way to be able > to determine if a file exists in the include path or not. this is why a lot That is simply not true. stream_resolve_include_path() is available in HEAD. -Han

Re: [PHP-DEV] problem with include_path and write-based file functions

2008-12-17 Thread Lukas Kahwe Smith
On 10.12.2008, at 19:33, Daniel Convissor wrote: Hi: On Tue, Dec 09, 2008 at 01:50:21PM -0600, Gregory Beaver wrote: I think allowing include_path to be used at all for file modification is horrendous, and think it should be deprecated and removed from PHP 6. I agree. To avoid compatibi

Re: [PHP-DEV] problem with include_path and write-based file functions

2008-12-10 Thread Daniel Convissor
Hi: On Tue, Dec 09, 2008 at 01:50:21PM -0600, Gregory Beaver wrote: > I > think allowing include_path to be used at all for file modification is > horrendous, and think it should be deprecated and removed from PHP 6. I agree. To avoid compatibility issues between 5.2 and 5.3, it seems best that

Re: [PHP-DEV] problem with include_path and write-based file functions

2008-12-09 Thread Marcus Boerger
Hello Gregory, Tuesday, December 9, 2008, 8:50:21 PM, you wrote: > Hi, > This bug: > http://bugs.php.net/bug.php?id=46680 > uncovers 2 larger issues. > 1) Where should a function like file_put_contents() create its file if > it doesn't already exist and FILE_USE_INCLUDE_PATH is specified? Th

[PHP-DEV] problem with include_path and write-based file functions

2008-12-09 Thread Gregory Beaver
Hi, This bug: http://bugs.php.net/bug.php?id=46680 uncovers 2 larger issues. 1) Where should a function like file_put_contents() create its file if it doesn't already exist and FILE_USE_INCLUDE_PATH is specified? The test for this is ext/standard/file/file_put_contents_variation4.phpt and a fe

Re: [PHP-DEV] Problem with (namespaced) code extending ReflectionProperty- possible bug?

2008-12-09 Thread Karsten Dambekalns
Hi. Stanislav Malyshev wrote: According to the manual and the PHP source the signature is this: public function getValue(stdclass $object) ... Use public function getValue($object = null) {} instead. Thanks, that works! I saw the [] in the C source, but failed to draw the right conclusion

Re: [PHP-DEV] Problem with (namespaced) code extending ReflectionProperty - possible bug?

2008-12-08 Thread Stanislav Malyshev
Hi! I am not speaking of a built-in object class. Because that is not what the internal parsing does. The internal parsing checks whether a passed-in Right now internal parser is quite detached from what PHP functions could do. If someone would write a proposal to bring them closer together

Re: [PHP-DEV] Problem with (namespaced) code extending ReflectionProperty - possible bug?

2008-12-08 Thread Marcus Boerger
Hello Rodrigo, Monday, December 8, 2008, 5:48:00 PM, you wrote: >> Which reminds me that we still have no way to do that in userland. >> In userland you cannot write: >> function foo(Object $bla = NULL). >> The missing part is 'Object' as a type hint. I once long ago suggested >> using 'class'

Re: [PHP-DEV] Problem with (namespaced) code extending ReflectionProperty - possible bug?

2008-12-08 Thread Rodrigo Saboya
Which reminds me that we still have no way to do that in userland. In userland you cannot write: function foo(Object $bla = NULL). The missing part is 'Object' as a type hint. I once long ago suggested using 'class' as in 'any class member'. But people felt it wouldn't be self explanatory enough

Re: [PHP-DEV] Problem with (namespaced) code extending ReflectionProperty - possible bug?

2008-12-08 Thread Marcus Boerger
Hello Stanislav, Monday, December 8, 2008, 4:50:52 PM, you wrote: > Hi! >> According to the manual and the PHP source the signature is this: >> public function getValue(stdclass $object) > Manual is unfortunately not exact in this point - true signature for it > is public function getValue([o

Re: [PHP-DEV] Problem with (namespaced) code extending ReflectionProperty - possible bug?

2008-12-08 Thread Stanislav Malyshev
Hi! According to the manual and the PHP source the signature is this: public function getValue(stdclass $object) Manual is unfortunately not exact in this point - true signature for it is public function getValue([object $object]) - i.e. $object is not required and if it's supplied, it does

[PHP-DEV] Problem with (namespaced) code extending ReflectionProperty - possible bug?

2008-12-08 Thread Karsten Dambekalns
Hi. Running 5.3.0alpha3 now and converting our codebase to the new namespaces syntax. Works fine so far, the new name resolution rules are very usable and lead to cleaner code so far. :) Now I ran into a problem. We have a class extending ReflectionProperty, and I got a complaint about the s

[PHP-DEV] Problem with building PHP

2008-11-28 Thread savgoran
Hi there, I spent many days tring to build PHP from source and now I found your new (and hidden???) site. I have new hope that I'll succesfuly build this beast. But... as you can seeI have problem. I download libraries from this link http://pecl2.php.net/downloads/php-windows-builds/php-libs

Re: [PHP-DEV] Problem with Namespaces

2008-03-21 Thread Hannes Magnusson
On Fri, Mar 21, 2008 at 5:36 PM, Sebastian Deutsch <[EMAIL PROTECTED]> wrote: > Hello, > > I'm currently fooling around with the new namespaces feature. Is > there any (semi) official documentation when to use "use" or "import". > > use Foo; > > Warning: The use statement with non-compound name

[PHP-DEV] Problem with Namespaces

2008-03-21 Thread Sebastian Deutsch
Hello, I'm currently fooling around with the new namespaces feature. Is there any (semi) official documentation when to use "use" or "import". use Foo; Warning: The use statement with non-compound name 'Foo' has no effect in. Is there any additional information. cheers *.sebastian -- PHP I

[PHP-DEV] Problem Installing lates PHP_5_2 CVS - Fatal error: Not valid internal .phar file (checksum error

2007-01-06 Thread Sebastian Nohn
This happens using the latest PHP_5_2 CVS: [...] 11:00:49 (273.62 KB/s) - `pear/install-pear-nozlib.phar' saved [3287079/3287079] Fatal error: Not valid internal .phar file (checksum error) in ./php5/pear/install-pear-nozlib.phar on line 411 make[1]: *** [install-pear-installer] Error 255 mak

RE: [PHP-DEV] Problem with ext/libxml RINIT/RSHUTDOWN

2006-03-20 Thread Dmitry Stogov
M > To: Dmitry Stogov > Cc: 'Wez Furlong'; 'Rob Richards'; internals@lists.php.net > Subject: Re: [PHP-DEV] Problem with ext/libxml RINIT/RSHUTDOWN > > > Hello Dmitry, > > which is the default > > however we could for optimization add

Re: [PHP-DEV] Problem with ext/libxml RINIT/RSHUTDOWN

2006-03-17 Thread Marcus Boerger
2006, 2:58:33 PM, you wrote: > BTW: libxml can be compiled with LIBXML_THREAD_ENABLED. > Dmitry. >> -Original Message- >> From: Wez Furlong [mailto:[EMAIL PROTECTED] >> Sent: Friday, March 17, 2006 4:33 PM >> To: Rob Richards >> Cc: Dmitry Stogov; in

RE: [PHP-DEV] Problem with ext/libxml RINIT/RSHUTDOWN

2006-03-17 Thread Dmitry Stogov
BTW: libxml can be compiled with LIBXML_THREAD_ENABLED. Dmitry. > -Original Message- > From: Wez Furlong [mailto:[EMAIL PROTECTED] > Sent: Friday, March 17, 2006 4:33 PM > To: Rob Richards > Cc: Dmitry Stogov; internals@lists.php.net > Subject: Re: [PHP-DEV] Probl

Re: [PHP-DEV] Problem with ext/libxml RINIT/RSHUTDOWN

2006-03-17 Thread Rob Richards
I don't think I made myself clear on the globals. The only situation there would be a problem is if PHP were built threaded and libxml2 were not (which as of 2.5.8 it is built threaded by default). When running threaded, each thread has its own global state, so when modified at request startup

Re: [PHP-DEV] Problem with ext/libxml RINIT/RSHUTDOWN

2006-03-17 Thread Wez Furlong
Sounds like a nasty situation. I don't think it's possible to sanely restore the handlers at rshutdown in a threaded build without screwing up the other threads that are currently executing. My suggestion is to not restore the handlers for threaded builds, and if there is a library sharing/abuse i

Re: [PHP-DEV] Problem with ext/libxml RINIT/RSHUTDOWN

2006-03-17 Thread Rob Richards
Dmitry Stogov wrote: Hi Wez, I found a bad code in ext/libxml. On each request startup/shutdown it changing some libxml callbacks. At first this slowdown each request, at second multi-threaded PHP may fail, because different threads may set/clean the same callbacks in the same time. May be it

[PHP-DEV] Problem with ext/libxml RINIT/RSHUTDOWN

2006-03-17 Thread Dmitry Stogov
Hi Wez, I found a bad code in ext/libxml. On each request startup/shutdown it changing some libxml callbacks. At first this slowdown each request, at second multi-threaded PHP may fail, because different threads may set/clean the same callbacks in the same time. May be it is possible to setup th

[PHP-DEV] Problem

2006-03-16 Thread Bikram Suri
Hi, I do phpinfo(); and I see the include path set to c:\php5\Pear. I have wamp installed on my machine but before wamp I had done a standalone installation of PHP 5 in c:\PHP5 diretory. I have since uninstalled it and deleted the c:\PHP5 directory from my system. How can i reset the include pa

[PHP-DEV] Problem with streams on Windows (current PHP_5_1)

2006-02-01 Thread Sebastian Bergmann
I am getting the following with current PHP_5_1 on Windows. No small reproducing script, yet. Debug Error! Program: c:\home\php\php-5.1\debug_ts\php.exe Module: c:\home\php\php-5.1\debug_ts\php5ts_debug.dll File: c:\home\php\php-5.1\main\streams\xp_socket.c Line: 641 Run-Time Check Failure #3:

Re: [PHP-DEV] problem with zend_register_internal_class

2006-01-16 Thread Antony Dovgal
On 16.01.2006 19:38, Jan Pieper wrote: Antony Dovgal wrote: You forgot to add TSRMLS_CC macro: zend_register_internal_class(&ce TSRMLS_CC); see also http://www.php.net/manual/en/zend-api.zend-register-internal-class.php Yeah thanks. It works, but I am wondering why it works without the TSRM

Re: [PHP-DEV] problem with zend_register_internal_class

2006-01-16 Thread Jan Pieper
Antony Dovgal wrote: You forgot to add TSRMLS_CC macro: zend_register_internal_class(&ce TSRMLS_CC); see also http://www.php.net/manual/en/zend-api.zend-register-internal-class.php Yeah thanks. It works, but I am wondering why it works without the TSRMLS_CC macro by another self-written cla

Re: [PHP-DEV] problem with zend_register_internal_class

2006-01-16 Thread Hartmut Holzgraefe
Antony Dovgal wrote: You forgot to add TSRMLS_CC macro: zend_register_internal_class(&ce TSRMLS_CC); see also http://www.php.net/manual/en/zend-api.zend-register-internal-class.php -- Hartmut Holzgraefe, Senior Support Engineer. MySQL AB, www.mysql.com -- PHP Int

Re: [PHP-DEV] problem with zend_register_internal_class

2006-01-16 Thread Antony Dovgal
You forgot to add TSRMLS_CC macro: zend_register_internal_class(&ce TSRMLS_CC); Btw, [EMAIL PROTECTED] is more appropriate list for such questions. On 16.01.2006 02:01, Jan Pieper wrote: If I compile my class if written, I get this error-messages: ~/php-5.1.1/ext/smartflow/smartflow.c: In func

[PHP-DEV] problem with zend_register_internal_class

2006-01-16 Thread Jan Pieper
If I compile my class if written, I get this error-messages: ~/php-5.1.1/ext/smartflow/smartflow.c: In function 'zm_startup_smartflow': ~/php-5.1.1/ext/smartflow/smartflow.c:109: error: too few arguments to function 'zend_register_internal_class' make: *** [ext/smartflow/smartflow.lo] Fehler 1

[PHP-DEV] Problem compiling sapi/cgi stuff in HEAD

2005-12-29 Thread Pierangelo Masarati
Recently, I had problems compiling stuff in sapi/cgi because of the change between 1.18 and 1.19 of sapi/cgi/config9.m4 which results in expanding a libtool command line into something like "gcc ''", where gcc (correctly) complains about the impossibility to compile a file named ''. I've worked th

Re: [PHP-DEV] Problem compiling sapi/cgi stuff in HEAD

2005-12-29 Thread Antony Dovgal
On 29.12.2005 16:59, Pierangelo Masarati wrote: Recently, I had problems compiling stuff in sapi/cgi because of the change between 1.18 and 1.19 of sapi/cgi/config9.m4 which results in expanding a libtool command line into something like "gcc ''", where gcc (correctly) complains about the impossi

[PHP-DEV] Problem with compiling php on windows with ssl

2005-09-23 Thread Sumit Mittal
Hi, I am trying to compile php for windows with ssl enabled so that i can use ftp_ssl_connect with php5.0. But when i do i used to get a fatel error every time stating something with cl.exe and my build stops. I want to build php 5.0 with ssl, apache, curl, mysqli and with few basic things..

Re: [PHP-DEV] Problem updating CVS HEAD

2005-08-08 Thread Andi Gutmans
It's a love-hate relationship with CVS :) At the end of the day, it works and with the investment we have in CVS scripts there are not enough problems to give us enough motivation to move to anything else. Andi P.S.- Clearcase would change my mind :) -- PHP Internals - PHP Runtime Developmen

Re: [PHP-DEV] Problem updating CVS HEAD

2005-08-05 Thread Jani Taskinen
On Fri, 5 Aug 2005, Pasha Zubkov wrote: Andrey Hristov wrote: Because CVS works and ppl are so far happy with it Andrey CVS don't always work properly. This example shows it ;) Also SVN has It works fine as long as you don't try to outsmart it. better versioning control mechanism. H

Re: [PHP-DEV] Problem updating CVS HEAD

2005-08-05 Thread Derick Rethans
On Fri, 5 Aug 2005, Pasha Zubkov wrote: > CVS don't always work properly. This example shows it ;) Also SVN has > better versioning control mechanism. Hope sometime in the future php > will "update" to SVN, so why not now? SVN has other annoyances. We will not move anytime soon. (period) Derick

Re: [PHP-DEV] Problem updating CVS HEAD

2005-08-05 Thread Pasha Zubkov
Andrey Hristov wrote: > Because CVS works and ppl are so far happy with it > > Andrey > CVS don't always work properly. This example shows it ;) Also SVN has better versioning control mechanism. Hope sometime in the future php will "update" to SVN, so why not now? -- PHP Internals - PHP Runtim

Re: [PHP-DEV] Problem updating CVS HEAD

2005-08-04 Thread Andrey Hristov
Pasha Zubkov wrote: Derick Rethans wrote: It's a CVS problem - it doesn't resolve repository links with upd, only on checkout. Derick Maybe sputid question, but why PHP stil use CVS instead of SVN? Because CVS works and ppl are so far happy with it Andrey -- PHP Internals - PHP Runtim

Re: [PHP-DEV] Problem updating CVS HEAD

2005-08-04 Thread Jochem Maas
Derick Rethans wrote: On Thu, 4 Aug 2005, Pasha Zubkov wrote: Derick Rethans wrote: It's a CVS problem - it doesn't resolve repository links with upd, only on checkout. Maybe sputid question, but why PHP stil use CVS instead of SVN? How do you want to convert 1100 users instantly withou

Re: [PHP-DEV] Problem updating CVS HEAD

2005-08-04 Thread Derick Rethans
On Thu, 4 Aug 2005, Pasha Zubkov wrote: > Derick Rethans wrote: > > It's a CVS problem - it doesn't resolve repository links with upd, only > > on checkout. > > Maybe sputid question, but why PHP stil use CVS instead of SVN? How do you want to convert 1100 users instantly without causing disru

Re: [PHP-DEV] Problem updating CVS HEAD

2005-08-04 Thread Pasha Zubkov
Derick Rethans wrote: > It's a CVS problem - it doesn't resolve repository links with upd, only > on checkout. > > Derick > Maybe sputid question, but why PHP stil use CVS instead of SVN? -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.p

Re: [PHP-DEV] Problem updating CVS HEAD

2005-08-04 Thread Derick Rethans
On Thu, 4 Aug 2005, Pasha Zubkov wrote: > Antony Dovgal wrote: > > Re-read Jani's reply. > > Do not touch anything, ./buildconf does it for you automagically. > > > > If I modified source, maybe delete some directories ;), and after this I > want to update source to repo status. "why it's not re

Re: [PHP-DEV] Problem updating CVS HEAD

2005-08-04 Thread Pasha Zubkov
Antony Dovgal wrote: > Re-read Jani's reply. > Do not touch anything, ./buildconf does it for you automagically. > If I modified source, maybe delete some directories ;), and after this I want to update source to repo status. "why it's not recovered by `... ud -d`?" -- PHP Internals - PHP Runti

Re: [PHP-DEV] Problem updating CVS HEAD

2005-08-04 Thread Antony Dovgal
On Thu, 04 Aug 2005 15:24:07 +0300 Pasha Zubkov <[EMAIL PROTECTED]> wrote: > Jani Taskinen wrote: > > On Thu, 4 Aug 2005, Pasha Zubkov wrote: > > > >> Hi list, > >> > >> If after `... checkout php-src` I go to directory php-src and remove > >> ZendEngine2 directory, then run `... up -APd` don't r

Re: [PHP-DEV] Problem updating CVS HEAD

2005-08-04 Thread Pasha Zubkov
Jani Taskinen wrote: > On Thu, 4 Aug 2005, Pasha Zubkov wrote: > >> Hi list, >> >> If after `... checkout php-src` I go to directory php-src and remove >> ZendEngine2 directory, then run `... up -APd` don't restore this >> directory from repo. How I can update my copy to repo status? > > >

Re: [PHP-DEV] Problem updating CVS HEAD

2005-08-04 Thread Jani Taskinen
On Thu, 4 Aug 2005, Pasha Zubkov wrote: Hi list, If after `... checkout php-src` I go to directory php-src and remove ZendEngine2 directory, then run `... up -APd` don't restore this directory from repo. How I can update my copy to repo status? Do NOT remove the directory. buildconf hand

[PHP-DEV] Problem updating CVS HEAD

2005-08-04 Thread Pasha Zubkov
Hi list, If after `... checkout php-src` I go to directory php-src and remove ZendEngine2 directory, then run `... up -APd` don't restore this directory from repo. How I can update my copy to repo status? CVS client 1.11.20 -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe

Re: [PHP-DEV] Problem with leak detection

2005-06-23 Thread Derick Rethans
On Thu, 23 Jun 2005, Zeev Suraski wrote: > At 03:17 23/06/2005, Marcus Boerger wrote: > >Hello Zeev, > > > > thanks for clarifying. Any chance we could change that for > >"normal/unproblemeatic" exit()s in the future with run-tests > >in mind? > > The trick would be how we can detect a non proble

Re: [PHP-DEV] Problem with leak detection

2005-06-23 Thread Zeev Suraski
At 03:17 23/06/2005, Marcus Boerger wrote: Hello Zeev, thanks for clarifying. Any chance we could change that for "normal/unproblemeatic" exit()s in the future with run-tests in mind? The trick would be how we can detect a non problematic exit(). For example, function foo() { exit(); } fun

Re: [PHP-DEV] Problem with leak detection

2005-06-22 Thread Marcus Boerger
Hello Zeev, thanks for clarifying. Any chance we could change that for "normal/unproblemeatic" exit()s in the future with run-tests in mind? marcus Wednesday, June 22, 2005, 4:03:35 PM, you wrote: > When exit() is called, like any other case in which zend_bailout() is used, > there can be memo

Re: [PHP-DEV] Problem with leak detection

2005-06-22 Thread Zeev Suraski
When exit() is called, like any other case in which zend_bailout() is used, there can be memory blocks which will not be 'properly' freed, and we have to rely on the memory manager to free it. So the fact leaks are not shown in case of exit() is intentional. Zeev At 05:19 20/06/2005, Marcus

[PHP-DEV] Problem with leak detection

2005-06-19 Thread Marcus Boerger
Hello internals, i just stumbled over a strange issue while testing. Some of my tests have exit(0) at the end for easier test verification. Now i found a new one that has a few memleaks but only reports them if i drop that exit(0) line. Is this something we need to fix (e.g. exit() omits leakage

Re: [PHP-DEV] Problem with ./configure on peardoc

2005-04-08 Thread Nuno Lopes
You should contact the peardoc team instead: [EMAIL PROTECTED] BTW, livedocs shouldn't work with peardoc correctly, because the indexing system is a bit phpdoc specific. Nuno - Original Message - Hello! I was wondering if I could get some help about a problem I have when I try to config

[PHP-DEV] Problem with ./configure on peardoc

2005-04-08 Thread colder.ch
Hello! I was wondering if I could get some help about a problem I have when I try to configure the peardoc for livedocs. the problem seems to be located on the autogenerated file : config.status ( line ~146) here is the log from the ./configure : *** checking for php... E:/HTTPserver/php/php c

Re: [PHP-DEV] Problem with fix for bug #31672

2005-03-08 Thread Jani Taskinen
On Tue, 8 Mar 2005, Zeev Suraski wrote: At 14:28 08/03/2005, Marcus Boerger wrote: Hello Zeev, Tuesday, March 8, 2005, 12:48:00 PM, you wrote: > At 13:34 08/03/2005, Marcus Boerger wrote: >> Thus i suggesst we reintroduce the patch and live with the fact >>that we need to write echo "<"."/script>"

Re: [PHP-DEV] Problem with fix for bug #31672

2005-03-08 Thread Zeev Suraski
At 14:28 08/03/2005, Marcus Boerger wrote: Hello Zeev, Tuesday, March 8, 2005, 12:48:00 PM, you wrote: > At 13:34 08/03/2005, Marcus Boerger wrote: >> Thus i suggesst we reintroduce the patch and live with the fact >>that we need to write echo "<"."/script>" instead of echo "". > Ouch, no way! I

Re: [PHP-DEV] Problem with fix for bug #31672

2005-03-08 Thread Marcus Boerger
Hello Zeev, Tuesday, March 8, 2005, 12:48:00 PM, you wrote: > At 13:34 08/03/2005, Marcus Boerger wrote: >> Thus i suggesst we reintroduce the patch and live with the fact >>that we need to write echo "<"."/script>" instead of echo "". > Ouch, no way! I value my life, I don't feel like being l

Re: [PHP-DEV] Problem with fix for bug #31672

2005-03-08 Thread Marcus Boerger
Hello Zeev, Tuesday, March 8, 2005, 12:48:00 PM, you wrote: >> Thus i suggesst we reintroduce the patch and live with the fact >>that we need to write echo "<"."/script>" instead of echo "". > Ouch, no way! I value my life, I don't feel like being lynched by a mob of > angry users :) Ok then

Re: [PHP-DEV] Problem with fix for bug #31672

2005-03-08 Thread Stanislav Malyshev
>>> Thus i suggesst we reintroduce the patch and live with the fact >>>that we need to write echo "<"."/script>" instead of echo "". If that was said some 5 years ago, it would be somewhat reasonable (though I would probably have some doubts even then, but it would be at least arguable). But now

Re: [PHP-DEV] Problem with fix for bug #31672

2005-03-08 Thread Zeev Suraski
At 13:34 08/03/2005, Marcus Boerger wrote: Hello Zeev, Tuesday, March 8, 2005, 7:27:31 AM, you wrote: > At 20:38 07/03/2005, Marcus Boerger wrote: >>Hello Zeev, >> >> i do not think this is a good excuse for ignoring xml compliance. > I don't exactly follow what you're saying - can you elaborate?

Re: [PHP-DEV] Problem with fix for bug #31672

2005-03-08 Thread Marcus Boerger
Hello Zeev, Tuesday, March 8, 2005, 7:27:31 AM, you wrote: > At 20:38 07/03/2005, Marcus Boerger wrote: >>Hello Zeev, >> >> i do not think this is a good excuse for ignoring xml compliance. > I don't exactly follow what you're saying - can you elaborate? I do not see any reason to make php a p

Re: [PHP-DEV] Problem with fix for bug #31672

2005-03-07 Thread Zeev Suraski
At 20:38 07/03/2005, Marcus Boerger wrote: Hello Zeev, i do not think this is a good excuse for ignoring xml compliance. I don't exactly follow what you're saying - can you elaborate? Zeev -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Problem with fix for bug #31672

2005-03-07 Thread Marcus Boerger
Hello Zeev, i do not think this is a good excuse for ignoring xml compliance. marcus Monday, March 7, 2005, 3:10:57 PM, you wrote: > Guys, > I'd like to revert the fix for bug #31672 (" is not considered > closing tag if preceded by one-line comment"). While theoretically > correct, I'd ra

Re: [PHP-DEV] Problem with fix for bug #31672

2005-03-07 Thread M. Sokolewicz
I very much agree with this. It's very common to output JavaScript via PHP, and that also uses the tags...so... Ilia Alshanetsky wrote: Good point, +1 for revert. Ilia Zeev Suraski wrote: Guys, I'd like to revert the fix for bug #31672 (" is not considered closing tag if preceded by one-line co

Re: [PHP-DEV] Problem with fix for bug #31672

2005-03-07 Thread Ilia Alshanetsky
Good point, +1 for revert. Ilia Zeev Suraski wrote: Guys, I'd like to revert the fix for bug #31672 (" is not considered closing tag if preceded by one-line comment"). While theoretically correct, I'd rather resolve it by fixing the docs. The reason is simple - unlike ?> and %>, the string "" i

[PHP-DEV] Problem with fix for bug #31672

2005-03-07 Thread Zeev Suraski
Guys, I'd like to revert the fix for bug #31672 (" is not considered closing tag if preceded by one-line comment"). While theoretically correct, I'd rather resolve it by fixing the docs. The reason is simple - unlike ?> and %>, the string "" is very much likely to appear inside one line commen

[PHP-DEV] Problem in Order of PHP Shutdown

2004-06-01 Thread Florian Schaper
There is a problem in the order the destructors of objects are destroyed at PHP shutdown. Let's say in an destructor the objects tries to save some states in a session variable that would currently fail since destructors are called after modules are freed. Sample & patch included. ./regards Flori

RE: [PHP-DEV] Problem in CLI

2004-05-25 Thread Andi Gutmans
s [mailto:[EMAIL PROTECTED] > Sent: 25 May 2004 13:07 > To: Wez Furlong; [EMAIL PROTECTED] > Subject: RE: [PHP-DEV] Problem in CLI > > Why are we creating a resource for these descriptors? Is it for the > constants in PHP? > > Andi > > At 12:21 PM 5/25/2004 +0100, Wez

RE: [PHP-DEV] Problem in CLI

2004-05-25 Thread Wez Furlong
D] > Subject: RE: [PHP-DEV] Problem in CLI > > Why are we creating a resource for these descriptors? Is it for the > constants in PHP? > > Andi > > At 12:21 PM 5/25/2004 +0100, Wez Furlong wrote: > >When STDERR gets dtor'd, the descriptor is closed, so the > l

RE: [PHP-DEV] Problem in CLI

2004-05-25 Thread Andi Gutmans
004 11:14 > To: [EMAIL PROTECTED] > Subject: [PHP-DEV] Problem in CLI > > The following script: > error_reporting(E_ALL); > leak(100); > print "hello\n"; > > Doesn't report a leak in CLI mode but it does in CGI. It > seems that stderr > and stdout file d

RE: [PHP-DEV] Problem in CLI

2004-05-25 Thread Wez Furlong
tderr descriptor and if PHP is in request shutdown. --Wez. > -Original Message- > From: Andi Gutmans [mailto:[EMAIL PROTECTED] > Sent: 25 May 2004 11:14 > To: [EMAIL PROTECTED] > Subject: [PHP-DEV] Problem in CLI > > The following script: > error_reporting(E_ALL);

[PHP-DEV] Problem in CLI

2004-05-25 Thread Andi Gutmans
The following script: Doesn't report a leak in CLI mode but it does in CGI. It seems that stderr and stdout file descriptors are getting screwed up in CLI. I remember someone messing around with this. Any ideas? Thanks, Andi -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe

[PHP-DEV] Problem reusing variables

2004-04-16 Thread Frank M. Kromann
Hello Everyone, I have a problem reusing variables. This does not work (second query does not return any data): $rs = fbsql_query("select * from tuser;", $con); ... $rs = fbsql_query("select * from tuser;", $con); These three combinations work fine (both queries return data): $rs = fbsql_query

Re: [PHP-DEV] Problem with config.m4

2004-03-30 Thread Stéphane Degré
It works fine now with the line : PHP_ADD_LIBRARY_WITH_PATH(uu, /usr/local/lib, ATT_CODEC_SHARED_LIBADD) Thank you. >"Rasmus Lerdorf" <[EMAIL PROTECTED]> a écrit dans le message de news: >[EMAIL PROTECTED] >You missed the most important step. You need to tell config.m4 that you >want to link aga

  1   2   >