Re: [PHP-DEV] ?= and %= both work, why not ?php=

2002-04-25 Thread Lars Torben Wilson
the age-old '=' vs. '==' screwup. Anyway, there's the thread and you should read it and decide whether this needs to get going again. :) -- Torben Wilson [EMAIL PROTECTED] http://www.thebuttlesschaps.com http://www.hybrid17.com http://www.inflatableeye.com +1.604.709.0506 -- PHP Development

Re: [PHP-DEV] exec + safemode

2002-03-13 Thread Lars Torben Wilson
that question. -- Torben Wilson [EMAIL PROTECTED] http://www.thebuttlesschaps.com http://www.hybrid17.com http://www.inflatableeye.com +1.604.709.0506 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] exec + safemode

2002-03-12 Thread Lars Torben Wilson
. -- Torben Wilson [EMAIL PROTECTED] http://www.thebuttlesschaps.com http://www.hybrid17.com http://www.inflatableeye.com +1.604.709.0506 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Re: Bug #15937: Call-time pass-by-reference has beendeprecated

2002-03-07 Thread Lars Torben Wilson
, until I tested it a few seconds ago. But when I created a large string and did the following: ?php error_reporting(E_ALL); $bigstring = implode(\n, file('/home/torben/work/phpdoc/en/appendices/reserved.xml')); function with_ref() { global $bigstring, $with_ref_len; $with_ref_len

Re: [PHP-DEV] PHP module creation

2002-03-03 Thread Lars Torben Wilson
The manual is a good place to start: http://www.php.net/manual/en/zend.php Cheers and happy hacking! Torben -- Torben Wilson [EMAIL PROTECTED] http://www.thebuttlesschaps.com http://www.hybrid17.com http://www.inflatableeye.com +1.604.709.0506 -- PHP Development Mailing List http

Re: [PHP-DEV] Re: [PHP-QA] Re: 4.2.0 CLI

2002-02-27 Thread Lars Torben Wilson
and drop it into a cgi-bin directory? :) +1 Also, is using the cli build of PHP going to break any old scripts? --zak -- Torben Wilson [EMAIL PROTECTED] http://www.thebuttlesschaps.com http://www.hybrid17.com http://www.inflatableeye.com +1.604.709.0506 -- PHP Development

Re: [PHP-DEV] Help on PHP vs JAVA

2002-02-21 Thread Lars Torben Wilson
. P.S. Please, pick *one* mailing list. This question has nothing to do with either php-dev or php-db. -- Torben Wilson [EMAIL PROTECTED] http://www.thebuttlesschaps.com http://www.hybrid17.com http://www.inflatableeye.com +1.604.709.0506 -- PHP Development Mailing List http

Re: [PHP-DEV] Disable magic quote by default.

2002-02-16 Thread Lars Torben Wilson
bug reports about addslashes() not working we'd have to bogusify. -1 Forgot to ask if anyone objects to make magic qoutes off by default for PHP5. Anyone? +1 -- Yasuo Ohgaki -- Torben Wilson [EMAIL PROTECTED] http://www.thebuttlesschaps.com http://www.hybrid17.com http

[PHP-DEV] Patches for odbc_execute()

2002-02-14 Thread Lars Torben Wilson
; } + + efree(filename); params[i-1].vallen = SQL_LEN_DATA_AT_EXEC(0); -- Torben Wilson [EMAIL PROTECTED] http://www.thebuttlesschaps.com http://www.hybrid17.com http://www.inflatableeye.com +1.604.709.0506

Re: [PHP-DEV] Constants

2002-02-13 Thread Lars Torben Wilson
Warning: it's a long list. There are over a thousand predefined constants, all told. :) Comments welcome (from Evan and from anybody else reading this...) -- Torben Wilson [EMAIL PROTECTED] http://www.thebuttlesschaps.com http://www.hybrid17.com http://www.inflatableeye.com

[PHP-DEV] Bug #15473 Updated: A typo in manual at ImageTTFBBox function description

2002-02-09 Thread torben
ID: 15473 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Closed Bug Type: Documentation problem Operating System: - PHP Version: 4.1.1 New Comment: This bug has been fixed in CVS. Previous

[PHP-DEV] Bug #14194 Updated: no manual entry for apache_child_terminate

2002-02-09 Thread torben
ID: 14194 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Closed Bug Type: Documentation problem Operating System: All PHP Version: 4.0.6 New Comment: This bug has been fixed in CVS. Previous

[PHP-DEV] Bug #15475 Updated: Call to undefined function: ocilogon() in DB/oci8.php

2002-02-09 Thread torben
isn't compiled in, or you haven't loaded the oci8.so library. Can you check phpinfo() and see whether it reports that OCI8 support available? Torben Previous Comments: [2002-02-09 17:12:15] [EMAIL PROTECTED] I write

[PHP-DEV] Bug #15234 Updated: basename bug

2002-02-09 Thread torben
ID: 15234 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Closed Bug Type: Filesystem function related Operating System: Linux Mandrake 8.0 PHP Version: 4.1.1 New Comment: This bug has been fixed

[PHP-DEV] Bug #15475 Updated: Call to undefined function: ocilogon() in DB/oci8.php

2002-02-09 Thread torben
:40] [EMAIL PROTECTED] Well, either Oracle support isn't compiled in, or you haven't loaded the oci8.so library. Can you check phpinfo() and see whether it reports that OCI8 support available? Torben [2002-02-09

[PHP-DEV] Bug #12879 Updated: array_slice - something to be mentioned in the documentation

2002-02-09 Thread torben
ID: 12879 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Closed Bug Type: Documentation problem Operating System: windows PHP Version: 4.0.4pl1 New Comment: This bug has been fixed in CVS.

[PHP-DEV] Bug #15442 Updated: end of .inc file gets deleted

2002-02-08 Thread torben
ID: 15442 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Bogus Bug Type: Performance problem Operating System: Windows Me PHP Version: 4.1.1 New Comment: Not enough information was provided for

[PHP-DEV] Bug #15279 Updated: RETURNTRANSFER and CUSTOMREQUST do not play well together

2002-02-08 Thread torben
, or just 'GET', as the custom response? The script you gave below didn't work for me either, but did if I did either of: $request = GET /index.html HTTP/1.0\r\n\r\n; ...or... $request = GET; Can you try that and report back? Torben Previous Comments

[PHP-DEV] Bug #15279 Updated: RETURNTRANSFER and CUSTOMREQUST do not play well together

2002-02-08 Thread torben
To: +Assigned To: torben New Comment: Well, in the first place, the results below show that it did in fact work for you, but that your server isn't set up to provide a directory listing of the root dir and also doesn't have an index file there. A bit more research shows that valid values

[PHP-DEV] Bug #15279 Updated: RETURNTRANSFER and CUSTOMREQUST do not play well together

2002-02-08 Thread torben
ID: 15279 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Feedback Bug Type: Documentation problem Operating System: Linux PHP Version: 4.1.1 Assigned To: torben New Comment: Scratch the first paragraph of my last

[PHP-DEV] Bug #15279 Updated: RETURNTRANSFER and CUSTOMREQUST do not play well together

2002-02-08 Thread torben
ID: 15279 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Closed Bug Type: Documentation problem Operating System: Linux PHP Version: 4.1.1 Assigned To: torben New Comment: Cool--I've

Re: [PHP-DEV] Bug #15415: [VOTE] case sensitive function/classnames for PHP5

2002-02-06 Thread Lars Torben Wilson
On Wed, 2002-02-06 at 17:34, Chris Shiflett wrote: NO I think he meant to vote using the voting form in the bug database. ;) Torben On 7 Feb 2002 [EMAIL PROTECTED] wrote: From: [EMAIL PROTECTED] Operating system: ANY PHP version: 4.1.1 PHP Bug Type: Feature

[PHP-DEV] Bug #15378 Updated: 3d array variables not usable in double quotes

2002-02-05 Thread torben
but there are some cases (sql querys, cookies headers) where it is not possible to write it that way and the only solution WAS to assign it to a simpler variable. Not true--that syntax is possible anywhere you use strings, except for heredocs. Torben Previous Comments

[PHP-DEV] Bug #15392 Updated: configration

2002-02-05 Thread torben
for the mailing list '[EMAIL PROTECTED]' and sign up. The bug database is not a support forum. Torben Previous Comments: [2002-02-05 15:57:53] [EMAIL PROTECTED] The bug system is not the appropriate forum for asking

Re: [PHP-DEV] Lists

2002-02-05 Thread Lars Torben Wilson
into account when replying to the OT posts. We do have some people who display abrasive and arrogant ways of dealing with people they perceive to be below their own ability level, but that's life. -1 to moderate/close the list, and -1 to change the name. Torben -- Torben Wilson [EMAIL

[PHP-DEV] Bug #15370 Updated: Class Visibility methods

2002-02-04 Thread torben
, enter 'class private' in the 'with text' search box, select 'Feature/Change Request' from the drop-down list, and hit 'Display'. Torben Previous Comments: [2002-02-04 14:39:06] [EMAIL PROTECTED] Couldn't find any

Re: [PHP-DEV] Strange behaviour in arrays

2002-02-04 Thread Lars Torben Wilson
in the array definition result to 0 instead of nothing? - Martin No--the string representation of boolean false is ''. You could, I suppose, force the conversion to int in the assignment: ?php $array = array(foo = true, bar = (int)false); print_r($array); ? Torben

[PHP-DEV] Bug #15330 Updated: An efficient way to access the last element of an array is sorely missed

2002-02-04 Thread torben
(if) these get added to the language. Email me privately if you want the whole batch of functions. Torben Previous Comments: [2002-02-04 10:30:39] [EMAIL PROTECTED] Aha! Now I see array_slice() -- much closer to that I

[PHP-DEV] Bug #14227 Updated: header(); does not overwrite session cookie

2002-02-03 Thread torben
this to Bogus for you. :) Torben Previous Comments: [2002-02-03 19:33:36] [EMAIL PROTECTED] This is actually not a bug at all. The header function allows you to write a header, basically giving you the flexibility

Re: [PHP-DEV] Re: Developer Seeking To Help

2002-02-03 Thread Lars Torben Wilson
is not 'Assigned' (sometimes 'Analyzed' is used here too) then you should be able to safely engage the bug in combat. Thanks for the information. Chris Hope it helps, Torben -- Torben Wilson [EMAIL PROTECTED] http://www.thebuttlesschaps.com http://www.hybrid17.com http

[PHP-DEV] Re: [PHP-QA] XOR or bit manupulation

2002-02-02 Thread Lars Torben Wilson
://www.php.net/manual/en/language.operators.bitwise.php Hope this helps, Torben -- Torben Wilson [EMAIL PROTECTED] http://www.thebuttlesschaps.com http://www.hybrid17.com http://www.inflatableeye.com +1.604.709.0506 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http

Re: [PHP-DEV] Content Management

2002-01-29 Thread Lars Torben Wilson
you a seizure. :) Good luck, Torben -- Torben Wilson [EMAIL PROTECTED] http://www.thebuttlesschaps.com http://www.hybrid17.com http://www.inflatableeye.com +1.604.709.0506 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

[PHP-DEV] Bug #15291 Updated: date() function time return problem

2002-01-29 Thread torben
ID: 15291 Updated by: torben Reported By: [EMAIL PROTECTED] Old Status: Closed Status: Feedback Bug Type: Date/time related Operating System: Debian PHP Version: 4.1.1 New Comment: Reopening; this should be set to 'Feedback' until the user confirms that the proposed fix actually works

[PHP-DEV] Bug #15291 Updated: date() function time return problem

2002-01-29 Thread torben
ID: 15291 Updated by: torben Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Date/time related Operating System: Debian PHP Version: 4.1.1 New Comment: What do you get from doing the following at a command prompt? % echo $TZ % date % TZ=GMT date Torben Previous Comments

[PHP-DEV] EXTENSIONS file XSLT

2002-01-28 Thread Lars Torben Wilson
: Experimental +SINCE: 4.1.0 --- EXTENSION: yaz PRIMARY MAINTAINER: Adam Dickmeiss [EMAIL PROTECTED] -- Torben Wilson [EMAIL PROTECTED] http://www.thebuttlesschaps.com http

[PHP-DEV] Bug #5301 Updated: cosmetic change in phpinfo() output

2002-01-28 Thread torben
ID: 5301 Updated by: torben Reported By: [EMAIL PROTECTED] Old Status: Closed Status: Open Bug Type: Feature/Change Request Old PHP Version: 4.0 Latest CVS (01/07/2000) PHP Version: 4.2.0-dev New Comment: No, it hasn't been fixed. Maybe we should check these things before closing the bugs

[PHP-DEV] Bug #3830 Updated: Function to timeout/break off a function

2002-01-28 Thread torben
ID: 3830 Updated by: torben Reported By: [EMAIL PROTECTED] Old Status: Closed Status: Open Bug Type: Feature/Change Request Operating System: linux Old PHP Version: 4.0 Beta 4 Patch Level 1 PHP Version: 4.2.0-dev New Comment: No, you can't. :) The ticks stuff won't stop a function which is tied

Re: [PHP-DEV] Re: Bug #3830 Updated: Function to timeout/break offa function

2002-01-28 Thread Lars Torben Wilson
I believe you are correct--I reopened this in the Bug Database a little while ago. Cheers, Torben At 21:54 28-1-2002 +, Bug Database wrote: ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=3830edit=2 ID: 3830 Updated

[PHP-DEV] Bug #13610 Updated: heredoc: any chars (even white space) after closing ; causes error

2002-01-28 Thread torben
ID: 13610 Updated by: torben Old Summary: heredoc: any chars (even white space) after closing ; causes error Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Feature/Change Request Operating System: Windows98 PHP Version: 4.0.6 New Comment: Here's a quick patch which just allows text *after

[PHP-DEV] Bug #13610 Updated: heredoc: any chars (even white space) after closing ; causes error

2002-01-28 Thread torben
ID: 13610 Updated by: torben Old Summary: heredoc: any chars (even white space) after closing ; causes error Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Feature/Change Request Operating System: Windows98 PHP Version: 4.0.6 New Comment: Yeesh. Scratch that. :) The issue remains

[PHP-DEV] Bug #15230 Updated: Format error!

2002-01-25 Thread torben
ID: 15230 Updated by: torben Old Summary: memory_limit not obviously disabled for windows binary Old Reported By: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Documentation problem Old Operating System: Windows 2000 Operating System: Linux / Windows PHP Version: 4.1.1

[PHP-DEV] Bug #15230 Updated: memory_limit not obviously disabled for windows binary

2002-01-25 Thread torben
ID: 15230 Updated by: torben Old Summary: Format error! Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Documentation problem Operating System: Linux / Windows PHP Version: 4.1.1 New Comment: Very odd...galeon seems to have gotten the form fields confused and changed the summary

[PHP-DEV] Bug #15157 Updated: exec()/system() doesn't work with parameters in quotation-marks in system-call

2002-01-22 Thread torben
ID: 15157 Updated by: torben Old Summary: exec()/system() doesn't work with parameters in quotation-marks in system-call Reported By: [EMAIL PROTECTED] Status: Bogus Bug Type: Program Execution Operating System: Linux (Debian) / Solaris 8 PHP Version: 4.1.0 New Comment: I'm running Debian here

[PHP-DEV] Bug #15157 Updated: exec()/system() doesn't work with parameters in quotation-marks in system-call

2002-01-22 Thread torben
ID: 15157 Updated by: torben Old Summary: exec()/system() doesn't work with parameters in quotation-marks in system-call Reported By: [EMAIL PROTECTED] Status: Bogus Bug Type: Program Execution Operating System: Linux (Debian) / Solaris 8 PHP Version: 4.1.0 New Comment: Run phpinfo

[PHP-DEV] Bug #15157 Updated: exec()/system() doesn't work with parameters in quotation-marks in system-call

2002-01-22 Thread torben
ID: 15157 Updated by: torben Old Summary: exec()/system() doesn't work with parameters in quotation-marks in system-call Reported By: [EMAIL PROTECTED] Old Status: Bogus Status: Analyzed Old Bug Type: Program Execution Bug Type: Documentation problem Operating System: Linux (Debian) / Solaris 8

[PHP-DEV] Bug #15130 Updated: pathinfo reports extension as bar/baz for /foo/bar.bar/baz

2002-01-21 Thread torben
ID: 15130 Updated by: torben Reported By: [EMAIL PROTECTED] Old Status: Bogus Status: Open Bug Type: Filesystem function related Operating System: FreeBSD PHP Version: 4.1.1 New Comment: Reopening. It does appear that pathinfo() reacts badly if: a) the filename portion does not have

[PHP-DEV] Bug #15132 Updated: about FOpen

2002-01-20 Thread torben
ID: 15132 Updated by: torben Reported By: [EMAIL PROTECTED] Old Status: Open Status: Bogus Bug Type: Unknown/Other Function Operating System: Non stated PHP Version: 4.1.1 New Comment: No, there isn't--for one thing, the system fopen() call won't do it. However, what you can do is create a new

[PHP-DEV] Bug #15064 Updated: for loops do not work properly (is it a feature or a bug?)

2002-01-16 Thread torben
ID: 15064 Updated by: torben Reported By: [EMAIL PROTECTED] Status: Bogus Bug Type: Feature/Change Request Operating System: Windows NT 4 PHP Version: 4.1.1 New Comment: Check the manual; this is the way for loops work: From page http://www.php.net/manual/en/control-structures.for.php

[PHP-DEV] Bug #15021 Updated: Format error!

2002-01-13 Thread torben
ID: 15021 Updated by: torben Reported By: [EMAIL PROTECTED] Status: Bogus Bug Type: Unknown/Other Function Operating System: Linux / Windows PHP Version: 4.1.1 New Comment: Just to add to this, check the list of HTML entities. curren; is the 'currency' sign entity. Torben Previous

[PHP-DEV] Bug #4294 Updated: return in script called from php.ini stops engine

2002-01-13 Thread torben
ID: 4294 Updated by: torben Reported By: [EMAIL PROTECTED] Old Status: Analyzed Status: Closed Bug Type: Documentation problem Operating System: AIX 4.3 / Solaris 2.6 PHP Version: 4.0 Release Candidate 1 Old Assigned To: Assigned To: torben Previous Comments

[PHP-DEV] Bug #4294 Updated: return in script called from php.ini stops engine

2002-01-13 Thread torben
ID: 4294 Updated by: torben Reported By: [EMAIL PROTECTED] Status: Closed Bug Type: Documentation problem Operating System: AIX 4.3 / Solaris 2.6 PHP Version: 4.0 Release Candidate 1 Assigned To: torben New Comment: Fixed in CVS. Previous Comments

[PHP-DEV] Bug #14915 Updated: for statement returns nothing.

2002-01-07 Thread torben
ID: 14915 Updated by: torben Reported By: [EMAIL PROTECTED] Old Status: Open Status: Bogus Bug Type: Unknown/Other Function Operating System: Linux 2.4.9 PHP Version: 4.1.0 New Comment: No bug; the code you have here is perfectly valid, although it contains one of those irritatingly hard

Re: [PHP-DEV] Question: Should exit() print out the integer exit-status?

2001-12-20 Thread Lars Torben Wilson
with this patch, and it makes the language more consistent and generally usable. Just my $0.02 for the night. Torben --- zend_execute.bakWed Dec 19 16:19:44 2001 +++ zend_execute.c Wed Dec 19 16:37:29 2001 @@ -2379,11 +2379,16 @@ case ZEND_EXIT

Re: [PHP-DEV] Question: Should exit() print out the integer exit-status?

2001-12-20 Thread Lars Torben Wilson
, the whole output/not output thing isn't that important to me personally; I was more concerned about the inconsistency in the argument usage. At least with that patch it would be language-consistent, even if one doesn't like the output. At 16:29 20/12/2001, Lars Torben Wilson wrote: Zeev Suraski

Re: [PHP-DEV] Question: Should exit() print out the integer exit-status?

2001-12-19 Thread Lars Torben Wilson
-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- Torben Wilson [EMAIL PROTECTED] http://www.thebuttlesschaps.com http://www.hybrid17.com http://www.inflatableeye.com +1.604.709.0506 -- PHP

Re: [PHP-DEV] Question: Should exit() print out the integer exit-status?

2001-12-19 Thread Lars Torben Wilson
it was wrong. In another sense, the code behaved in a fashion which had a very high WTF factor, so it couild be called 'wrong' too. An easy way to set and check the exit status of a PHP script would make a lot of life a hell of a lot easier. -- Torben Wilson [EMAIL PROTECTED] http

Re: [PHP-DEV] Question: Should exit() print out the integer exit-status?

2001-12-19 Thread Lars Torben Wilson
a new function named something like 'exit_print()' which behaves the way the current exit() does. Besides, as Vlad pointed out it's a _hell_ of a lot easier to do the print-out thing in userland than it is to set the exit status. :) Torben At 14:49 19/12/2001, Lars Torben Wilson wrote: Zeev

Re: [PHP-DEV] Question: Should exit() print out the integer exit-status?

2001-12-19 Thread Lars Torben Wilson
to go. Could you please give me nice example what kind of scripts break if the integer is not printed out? --Jani On Wed, 19 Dec 2001, Zeev Suraski wrote: exit_with_status(), silent_exit(), quiet_exit(), etc. etc. Something should fit :) At 14:49 19/12/2001, Lars Torben

Re: [PHP-DEV] Question: Should exit() print out the integer exit-status?

2001-12-19 Thread Lars Torben Wilson
Zeev Suraski writes: At 15:15 19/12/2001, Lars Torben Wilson wrote: Zeev Suraski writes: exit_with_status(), silent_exit(), quiet_exit(), etc. etc. Something should fit :) Yeah, you could do that. But then, why don't we have a 'c_compatible_dirname()' now, instead of a proper dirname

Re: [PHP-DEV] Question: Should exit() print out the integer exit-status?

2001-12-19 Thread Lars Torben Wilson
$?' in this example to output '5' instead of '0'. But I just sank another couple of scotches so this could be screwed and I'm not gonna think about it again till morning. :) See you then, Torben Script started on Wed Dec 19 07:05:56 2001 ~/work/php-4.1.0RC3 shanna% cat test-exist-status.php #!/usr

Re: [PHP-DEV] Question: Should exit() print out the integer exit-status?

2001-12-19 Thread Lars Torben Wilson
Vlad Krupin writes: Lars Torben Wilson wrote: Perhaps I have not explained my position. I don't care whether it outputs the exit status as a string--as long as it sets the error code appropriately *as well*. By appropriately, I mean that 'exit(boo);' would a) print 'boo' and b) return

Re: [PHP-DEV] Question: Should exit() print out the integer exit-status?

2001-12-19 Thread Lars Torben Wilson
be that the exit status of the script would be 123 instead of 0. It would still print out the '123, 456 servers are unavailable'. Vlad Lars Torben Wilson wrote: Vlad Krupin writes: Lars Torben Wilson wrote: Perhaps I have not explained my position. I don't care whether it outputs

Re: [PHP-DEV] Question: Should exit() print out the integer exit-status?

2001-12-19 Thread Lars Torben Wilson
, 2001 at 03:33:15PM -0800, Lars Torben Wilson wrote : Vlad Krupin writes: Please, understand me correctly - I have nothing against exit() working in the same manner regardless of the type of the argument. I would love to see that. The problem is that (1) it already accepts a string

Re: [PHP-DEV] Question: Should exit() print out the integer exit-status?

2001-12-19 Thread Lars Torben Wilson
Markus Fischer writes: Implictely is more error prone. How so? Can you give an example? On Wed, Dec 19, 2001 at 04:12:02PM -0800, Lars Torben Wilson wrote : Markus Fischer writes: Why not just check the type of the parameter? No conversion needed at all. If its a long

Re: [PHP-DEV] multiple inheritance ext

2001-12-07 Thread Lars Torben Wilson
speaking, this is true. However, they do discuss the possibility in http://www.zend.com/engine2/ZendEngine-2.0.pdf. -- Torben Wilson [EMAIL PROTECTED] http://www.thebuttlesschaps.com http://www.hybrid17.com http://www.inflatableeye.com +1.604.709.0506 -- PHP Development Mailing List http

[PHP-DEV] Bug #14305 Updated: type-o on web site

2001-12-06 Thread torben
ID: 14305 Updated by: torben Reported By: [EMAIL PROTECTED] Status: Closed Bug Type: Documentation problem Operating System: Win2k PHP Version: 4.1.0 New Comment: To the original submitter: While help is very much appreciated, I'm quite certain that few people like to be attacked

[PHP-DEV] Bug #14287 Updated: array_diff takes string as second argument

2001-11-29 Thread torben
ID: 14287 Updated by: torben Reported By: [EMAIL PROTECTED] Old Status: Closed Status: Bogus Bug Type: Scripting Engine problem Operating System: W2K PHP Version: 4.0.6 New Comment: Changing this to 'bogus': However, for the above case imho there should either be a compiler warning

Re: [PHP-DEV] references-weirdness???

2001-11-28 Thread Lars Torben Wilson
= $test-getData(0); $walk = $test-data[1]; print('br'); print_r($test); Cheers, Torben in words: i pass a reference of a class-property to a variable $walk, if i overwrite $walk, the class-property has a new value too (seems logical, since we are working with references not pointers

[PHP-DEV] Bug #14164 Updated: variables set in remotely include()d file are lost upon return

2001-11-21 Thread torben
ID: 14164 Updated by: torben Reported By: [EMAIL PROTECTED] Status: Bogus Bug Type: Scripting Engine problem Operating System: Linux PHP Version: 4.0.5 New Comment: Change your included file extensions from .php to something which the remote server won't parse, so that you're including

Re: [PHP-DEV] Bug #14165 Updated: No way to return variables from remote include()

2001-11-21 Thread Lars Torben Wilson
); $fp = fopen('http://shanna.outlander.ca/~torben/phptest/includechild.php', 'r'); $retval = fread($fp, 20); fclose($fp); $returned_data = wddx_deserialize($retval); print_r($returned_data); ? --includechild.php-- ?php /* -*- mode: c++; minor-mode: font -*- */ mysql_connect('localhost', 'user

[PHP-DEV] Bug #7634 Updated: mysql_pconnect() + lock tables can hang server

2001-11-20 Thread torben
ID: 7634 Updated by: torben Reported By: [EMAIL PROTECTED] Old Status: Feedback Status: Open Bug Type: MySQL related Operating System: Mandrake 7.0 PHP Version: 4.0 Latest CVS (03/11/2000) New Comment: Nope, still happens. This is on Debian woody, PHP 4.1.0RC3 (haven't tried on the win32

Re: [PHP-DEV] Bug #7634 Updated: mysql_pconnect() + lock tables can hang server

2001-11-20 Thread Lars Torben Wilson
years, but it still *could*, I guess...) it'd require a server reset (or mysql thread kill) to cope with. On Wed, Nov 21, 2001 at 01:10:51AM -, [EMAIL PROTECTED] wrote : ID: 7634 Updated by: torben Reported By: [EMAIL PROTECTED] Old Status: Feedback Status: Open Bug Type: MySQL

Re: [PHP-DEV] Bug #7634 Updated: mysql_pconnect() + lock tables can hang server

2001-11-20 Thread Lars Torben Wilson
it--it'll be moot by midnight. :) -- Torben Wilson [EMAIL PROTECTED] http://www.thebuttlesschaps.com +1.604.709.0506 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list

Re: [PHP-DEV] Bug #14138 Updated: date arithmetic scrambled

2001-11-20 Thread Lars Torben Wilson
stable installed this time yesterday. :( However, the code operates correctly under PHP 4.1.0RC3 under Debian testing/unstable (woody). If that helps at all... -- Torben Wilson [EMAIL PROTECTED] http://www.thebuttlesschaps.com +1.604.709.0506 -- PHP Development Mailing List http://www.php.net

[PHP-DEV] Bug #7634 Updated: mysql_pconnect() + lock tables can hang server

2001-11-20 Thread torben
ID: 7634 Updated by: torben Reported By: [EMAIL PROTECTED] Old Status: Open Status: Closed Old Bug Type: MySQL related Bug Type: Documentation problem Operating System: Mandrake 7.0 PHP Version: 4.0 Latest CVS (03/11/2000) New Comment: Closed as a Doc problem; added a warning in CVS about

[PHP-DEV] Bug #11916: POSIX config.m4 doesn't look for getpgid()

2001-07-05 Thread torben
(). This is with the distribution tarball of 4.0.6. - Torben -- Edit Bug report at: http://bugs.php.net/?id=11916edit=1 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e

[PHP-DEV] POSIX ext. on Win32?

2001-07-05 Thread Lars Torben Wilson
Can someone clarify for me whether the POSIX extension is expected to work on any Windows variants? Thanks... (Please Cc: me as I had to leave the list temporarily...) -- Torben Wilson [EMAIL PROTECTED] http://www.thebuttlesschaps.com +1.604.709.0506 -- PHP Development Mailing List

[PHP-DEV] Bug #11056: file upload (size 1MB) takes too much time

2001-05-23 Thread torben
-file neither comes to an end nor produces a timeout... Thanks in advance for any hinds - with kind regards Torben -- Edit Bug report at: http://bugs.php.net/?id=11056edit=1 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands

Re: [PHP-DEV] Lame support for win32 mail() function -rant

2001-05-22 Thread Lars Torben Wilson
, e-mail: [EMAIL PROTECTED] -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- Torben Wilson [EMAIL PROTECTED] http

Re: [PHP-DEV] Need Help!!

2001-05-22 Thread Lars Torben Wilson
Brian Little writes: Yes. There is nothing specific in there about compiling the code under windows. Brian Is this not helpful, or are you specifically looking for something else? http://www.php.net/manual/en/install-windows.php#install.windows.build Torben James Moore [EMAIL PROTECTED

[PHP-DEV] Bug #10963 Updated: random loss of cookie content

2001-05-18 Thread torben
ID: 10963 Updated by: torben Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Duplicate Bug Type: Unknown/Other Function Operating system: PHP Version: 4.0.4pl1 Assigned To: Comments: Duplicate. Previous Comments

[PHP-DEV] Bug #10944: hw_info() prints garbage for server string

2001-05-17 Thread torben
***, localhost, 717, anonymous, 7175, 0 Looking at the source it seems that the server string is never getting set properly when the connection is made in hg_comm.c, but I don't have time to track this down today. Torben -- Edit Bug report at: http://bugs.php.net/?id=10944edit=1 -- PHP

[PHP-DEV] Bug #10913: hw_who() returns incorrect data prints extraneous string (patch incl.)

2001-05-16 Thread torben
From: [EMAIL PROTECTED] Operating system: Linux 2.2.14/Mandrake 7 PHP version: 4.0 Latest CVS (2001-05-16) PHP Bug Type: Hyperwave related Bug description: hw_who() returns incorrect data prints extraneous string (patch incl.) Just found this with hw_who(): the returned

[PHP-DEV] Bug #10914: --with-ccvs[=DIR] breaks configure if DIR not given (patch incl.)

2001-05-16 Thread torben
From: [EMAIL PROTECTED] Operating system: Linux 2.2.14/Mandrake 7 PHP version: 4.0 Latest CVS (2001-05-16) PHP Bug Type: Compile Failure Bug description: --with-ccvs[=DIR] breaks configure if DIR not given (patch incl.) The CCVS config.m4 doesn't search for the CCVS

[PHP-DEV] Bug #10913 Updated: hw_who() returns incorrect data prints extraneous string (patch incl.)

2001-05-16 Thread torben
ID: 10913 Updated by: torben Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Hyperwave related Operating system: PHP Version: 4.0 Latest CVS (2001-05-16) Assigned To: Comments: Just a minor change to the patch: s/#if 0/#ifdef HW_DEBUG/. :) Previous Comments

[PHP-DEV] Integer casts broken or...?

2001-05-14 Thread Lars Torben Wilson
Type casting to int from string works only for decimal values--is this by design? Example: echo (int) '09' . ', ' . (int) '0x24'; ...produces: 9, 0 which seems intuitively wrong (I'd have expected 0, 36). Is this wrong, or should I just document it? Thanks, Torben -- Torben Wilson

Re: [PHP-DEV] Integer casts broken or...?

2001-05-14 Thread Lars Torben Wilson
: Lars Torben Wilson [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, May 14, 2001 1:29 PM Subject: [PHP-DEV] Integer casts broken or...? Type casting to int from string works only for decimal values--is this by design? Example: echo (int) '09' . ', ' . (int) '0x24'; ...produces

Re: [PHP-DEV] Integer casts broken or...?

2001-05-14 Thread Lars Torben Wilson
-- dealnews.com, Inc. Makers of dealnews, dealmac http://dealnews.com/ | http://dealmac.com/ - Original Message - From: Lars Torben Wilson [EMAIL PROTECTED] To: Brian Moon [EMAIL PROTECTED] Cc: [EMAIL PROTECTED

[PHP-DEV] Bug #10468 Updated: PHPChat does not work with PHP 4.x

2001-04-24 Thread torben
ID: 10468 Updated by: torben Reported By: [EMAIL PROTECTED] Status: Closed Bug Type: Unknown/Other Function PHP Version: 4.0.4pl1 Assigned To: Comments: Your feeling is correct--while PHP 4 is downwardly compatible with PHP 3 in most respects, there are differences. There is a migration

[PHP-DEV] Bug #10468 Updated: PHPChat does not work with PHP 4.x

2001-04-23 Thread torben
ID: 10468 Updated by: torben Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: Unknown/Other Function PHP Version: 4.0.4pl1 Assigned To: Comments: No offense, but that would be a bug in the script and not PHP. There is a possibility that the problem is caused by a bug

[PHP-DEV] Possible fix for Bug #8045

2001-04-22 Thread Lars Torben Wilson
h; then +CCVS_DIR=$i +AC_MSG_RESULT(found in $i) + fi +done + fi + + if test -z "$CCVS_DIR"; then +AC_MSG_RESULT(not found) +AC_MSG_ERROR(Please check your CCVS installation; cv_api.h should be in +ccvs_dir/include/) + fi + + PHP_ADD_INCLUDE($CCVS_DIR/in

[PHP-DEV] Bug #10447: ccvs_*() functions segfault when given invalid session ID

2001-04-22 Thread torben
From: [EMAIL PROTECTED] Operating system: Linux Mandrake 7.0 PHP version: 4.0 Latest CVS (22/04/2001) PHP Bug Type: CCVS related Bug description: ccvs_*() functions segfault when given invalid session ID The ccvs functions segfault when given an invalid session ID. This

[PHP-DEV] mktime() oddity

2001-04-19 Thread Lars Torben Wilson
for any ideas, Torben -- Torben Wilson [EMAIL PROTECTED] http://www.thebuttlesschaps.com +1.604.709.0506 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e

[PHP-DEV] PHP 4.0 Bug #10203 Updated: foreach weakness

2001-04-06 Thread torben
ID: 10203 Updated by: torben Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Feature/Change Request Assigned To: Comments: It's for someone else to decide whether to add this to the language, but until they do you can achieve the same effect with: $arr = array(array(1, 2), array(3

[PHP-DEV] PHP 4.0 Bug #10151 Updated: Call to undefined function: gregoriantojd()

2001-04-04 Thread torben
ID: 10151 Updated by: torben Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Bogus Bug Type: Calendar problems Assigned To: Comments: Please read the manual: http://www.php.net/manual/en/ref.calendar.php You need to either compile the extension in or load it. Since you provided

[PHP-DEV] PHP 4.0 Bug #10148 Updated: Feature Request

2001-04-03 Thread torben
ID: 10148 Updated by: torben Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: Feature/Change Request Assigned To: Comments: It's not a function, but it is in the manual. I think you want the __FILE__ constant. http://www.php.net/manual/en/language.constants.php

[PHP-DEV] PHP 4.0 Bug #10127 Updated: odbc_errormsg documented with wrong return type

2001-04-02 Thread torben
ID: 10127 Updated by: torben Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: Documentation problem Assigned To: Comments: Thanks for the heads-up. Fixed in CVS (should show up online soon. Previous Comments

[PHP-DEV] PHP 4.0 Bug #10128 Updated: Undefined Variables

2001-04-02 Thread torben
ID: 10128 Updated by: torben Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Bogus Bug Type: IIS related Assigned To: Comments: No, it probably just means that you don't have the register_globals option turned on. See the manual for more information: http://www.php.net/manual/en

Re: [PHP-DEV] Question about socket ext. file descriptors

2001-03-29 Thread Lars Torben Wilson
s not very PHP to do that. You already have an fd resource as far as I know in ext/standard so you can use that. Andi At 02:02 AM 3/29/2001 -0800, Lars Torben Wilson wrote: Andi Gutmans writes: Why do you need to rely on such behavior? Are you trying to do something naught? :) I t

Re: [PHP-DEV] Question about socket ext. file descriptors

2001-03-29 Thread Lars Torben Wilson
] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- ++ |Torben Wilson [EMAIL PROTECTED]Adcore Finland| |http://www.coastnet.com/~torbenhttp://www.adcore.com| |Ph: 1.604.709.0506

  1   2   >