Re: [PHP-DOC] Create directory using DSSSL

2002-12-18 Thread Gabor Hojtsy
 I'm trying to make a custom DSSSL stylesheet to create a BBEdit
 Glossary. In BBEdit, you can group similar functions inside a
 directory, so I want to create:
 
 Apache-specific Functions/
 apache-foo
 apache-bar
 Other Functions/
 ...
 
 I can get jade to make the correct chunks and place them in the
 correct place, but they fail if the directory doesn't already
 exist. How do I get jade to automatically create the directory? Or,
 how do I get jade to let me tell it to create a directory from within
 the DSSSL stylesheet? (Or, how can I get jade to let me call a remote
 program, like mkdir?)
 
 I've searched all over for this, but DSSSL isn't quite in vogue any
 more, so documentation is hard to find.

 PS: I'd prefer not to need to create the directories manually, because
 then they'll fail if we modify the docs to add or remove new sections.

I don't know DSSSL very much, I am only able to fix a few things if
needed. I would recommend you to do your work in XSLT, as it is the
future of phpdoc too (and the present and foreseeable future of
general XML transformations anyway). The new CHMs are already created
using XSLT, and probably all the style sheets are converted to XSLT,
we only have problems with the TOCs to fix (which I had no time to
look at).

If you still stick to DSSSL, I would write a preprocessor PHP script
if I would be you, which processes the XML source, and finds out what
directories are needed. Then the DSSSL script will find the
directories in place.

Goba [one [EMAIL PROTECTED]]



-- 
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP-DOC] #20993 [Sus-Opn]: Element value changes without asking

2002-12-18 Thread msopacua
 ID:   20993
 Updated by:   [EMAIL PROTECTED]
 Reported By:  [EMAIL PROTECTED]
-Status:   Suspended
+Status:   Open
-Bug Type: Scripting Engine problem
+Bug Type: Documentation problem
 Operating System: Any
 PHP Version:  4.0CVS-2002-12-13
 New Comment:

We have discussed this issue and it will put a considerable slowdown on
php's performance, to fix this properly.

Therefore this behavior will be documented.


Previous Comments:


[2002-12-13 14:51:47] [EMAIL PROTECTED]

This bug has a lot to do with the bug reports mentioned below.

http://bugs.php.net/bug.php?id=6417
http://bugs.php.net/bug.php?id=7412
http://bugs.php.net/bug.php?id=15025

As a workaround, you can write as following to avoid this issue.

function theFunction($array) {
$array = unserialize(serialize($array));

$array[0] = 2;
}




[2002-12-13 12:50:26] [EMAIL PROTECTED]

Verified with 4.2.3




[2002-12-13 12:42:22] [EMAIL PROTECTED]

Verified and added testcase to CVS



[2002-12-13 12:01:33] [EMAIL PROTECTED]

I create an array an then a reference to an element of that array.
Then the array is passed to a function (by value!) which changes the
value of the element.
After that, the global array has also another value.

I would expect this behaviour if I passed the array by reference but I
do not.

?php

$array = array(1);

$reference = $array[0];

echo $array[0], 'br';
theFunction($array);

echo $array[0], 'br';

function theFunction($array) {
$array[0] = 2;
}

?



[2002-12-13 12:00:37] [EMAIL PROTECTED]

I create an array an then a reference to an element of that array.
Then the array is passed to a function (by value!) which changes the
value of the element.
After that, the global array has also another value.

I would expect this behaviour if I passed the array by reference but I
did not.

?php

$array = array(1);

$reference = $array[0];

echo $array[0], 'br';
theFunction($array);

echo $array[0], 'br';

function theFunction($array) {
$array[0] = 2;
}

?




-- 
Edit this bug report at http://bugs.php.net/?id=20993edit=1


-- 
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP-DOC] Problem with the revcheck page

2002-12-18 Thread Martin Samesch
Hi,

http://www.php.net/manual/de/revcheck.html.gz tells me that The de
language code is not valid.

Is it broken?

Martin


-- 
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP-DOC] #21086 [NEW]: imagepolygon syntax description

2002-12-18 Thread hinz
From: [EMAIL PROTECTED]
Operating system: N/A
PHP version:  4.2.3
PHP Bug Type: Documentation problem
Bug description:  imagepolygon syntax description

IS:
int imagepolygon ( int im, array points, int num_points, int col) ...
num_points is the total number of vertices. 
SHOULD BE:
int imagepolygon ( int im, array points, int num_points, int col) ...
num_points is the total number of points, divided by 2.
If this is not considered a bug, it's pretty misleading at least.
HTH.

-- 
Edit bug report at http://bugs.php.net/?id=21086edit=1
-- 
Try a CVS snapshot: http://bugs.php.net/fix.php?id=21086r=trysnapshot
Fixed in CVS:   http://bugs.php.net/fix.php?id=21086r=fixedcvs
Fixed in release:   http://bugs.php.net/fix.php?id=21086r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=21086r=needtrace
Try newer version:  http://bugs.php.net/fix.php?id=21086r=oldversion
Not developer issue:http://bugs.php.net/fix.php?id=21086r=support
Expected behavior:  http://bugs.php.net/fix.php?id=21086r=notwrong
Not enough info:http://bugs.php.net/fix.php?id=21086r=notenoughinfo
Submitted twice:http://bugs.php.net/fix.php?id=21086r=submittedtwice
register_globals:   http://bugs.php.net/fix.php?id=21086r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=21086r=php3
Daylight Savings:   http://bugs.php.net/fix.php?id=21086r=dst
IIS Stability:  http://bugs.php.net/fix.php?id=21086r=isapi


-- 
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP-DOC] #21086 [Opn]: imagepolygon syntax description

2002-12-18 Thread pajoye
 ID:   21086
 Updated by:   [EMAIL PROTECTED]
 Reported By:  [EMAIL PROTECTED]
 Status:   Open
 Bug Type: Documentation problem
 Operating System: N/A
 PHP Version:  4.2.3
 New Comment:

The word 'vertex' is correct, a polygon own a minimum amount of 3
verteces (which represent 3 carthesians coordonates, points).

A more 'userfriendly' word should be added, but this is correct.

pierre


Previous Comments:


[2002-12-18 16:02:41] [EMAIL PROTECTED]

IS:
int imagepolygon ( int im, array points, int num_points, int col) ...
num_points is the total number of vertices. 
SHOULD BE:
int imagepolygon ( int im, array points, int num_points, int col) ...
num_points is the total number of points, divided by 2.
If this is not considered a bug, it's pretty misleading at least.
HTH.





-- 
Edit this bug report at http://bugs.php.net/?id=21086edit=1


-- 
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP-DOC] Problem with the revcheck page

2002-12-18 Thread Fernando Correa Da Conceição
The same to pt_BR

Fernando

Martin Samesch escreveu:


Hi,

http://www.php.net/manual/de/revcheck.html.gz tells me that The de
language code is not valid.

Is it broken?

Martin


 




--
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP-DOC] #21090 [NEW]: mb_convert_kana(): Error in A switch info

2002-12-18 Thread jc
From: [EMAIL PROTECTED]
Operating system: Red Hat Linux 7.2
PHP version:  4.2.2
PHP Bug Type: Documentation problem
Bug description:  mb_convert_kana(): Error in A switch info

mb_convert_kana() has the wrong description for the effects of the A
option. Both the a and A options ahve the same descriptions. Just a
copy paste error I guess ...

Jc
-- 
Edit bug report at http://bugs.php.net/?id=21090edit=1
-- 
Try a CVS snapshot: http://bugs.php.net/fix.php?id=21090r=trysnapshot
Fixed in CVS:   http://bugs.php.net/fix.php?id=21090r=fixedcvs
Fixed in release:   http://bugs.php.net/fix.php?id=21090r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=21090r=needtrace
Try newer version:  http://bugs.php.net/fix.php?id=21090r=oldversion
Not developer issue:http://bugs.php.net/fix.php?id=21090r=support
Expected behavior:  http://bugs.php.net/fix.php?id=21090r=notwrong
Not enough info:http://bugs.php.net/fix.php?id=21090r=notenoughinfo
Submitted twice:http://bugs.php.net/fix.php?id=21090r=submittedtwice
register_globals:   http://bugs.php.net/fix.php?id=21090r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=21090r=php3
Daylight Savings:   http://bugs.php.net/fix.php?id=21090r=dst
IIS Stability:  http://bugs.php.net/fix.php?id=21090r=isapi


-- 
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php