Hi everyone,
As we all know, count() returns 1 if the variable
is not an array.
Question is: why in the world does it this? If a variable is *notA* an array,
it contains *zero* array elements.
You can answer: but no, man, you can say
$x=world;
$y=$x{3}; // $y=l
so
On 9/08/2011, at 8:20 AM, Andre Polykanine wrote:
Hi everyone,
As we all know, count() returns 1 if the variable
is not an array.
Question is: why in the world does it this? If a variable is *notA* an array,
it contains *zero* array elements.
You can answer:
On Mon, Aug 8, 2011 at 16:20, Andre Polykanine an...@oire.org wrote:
Hi everyone,
As we all know, count() returns 1 if the variable
is not an array.
Question is: why in the world does it this? If a variable is *notA* an array,
it contains *zero* array elements.
Hello Daniel,
DPB does it return the number of characters within a string --- instead,
DPB as you likely know, you'd use strlen().
For sure. But I'm asking: why it doesn't return 0 if it is not an array?
Logically: no array - no items!
--
With best regards from Ukraine,
Andre
On 8 Aug 2011, at 21:41, Andre Polykanine wrote:
DPB does it return the number of characters within a string --- instead,
DPB as you likely know, you'd use strlen().
For sure. But I'm asking: why it doesn't return 0 if it is not an array?
Logically: no array - no items!
The manual
On Mon, Aug 8, 2011 at 16:41, Andre Polykanine an...@oire.org wrote:
For sure. But I'm asking: why it doesn't return 0 if it is not an array?
Logically: no array - no items!
No, actually, if it's a string, it's a single item --- thus, 1.
The documentation should probably reflect that
Hello everybody,
has anybody an idea on how to fix this? Is it really necessary to
recomplile for utf-8 BOM support?
Regards, Merlin
Merlin Morgenstern wrote:
Hello,
I am experiencing problems with utf-8 and php. There seems to be a
problem with BOM.
Some postings say that I have to
and $_POST vars,
Everything is all good
lmwangi
So something bad? happens when you use https in the request. Anyone
able to reproduce this. Is it a php bug (i doubt it) but you never
know until u waddle through the mod_proxy voodoo.
Here is a sample script
snip
?php
if(isset($_POST['btnSubmit
Lmwangi wrote:
Hi all,
First time on the list... sorry for any errs.
I am using mod_proxy to pass requests to an internal server in our
lan. The setup looks like
Enduser---INet_link-Mod_proxy_serverLan---PHP_script
Now,
this does not work:
I have the configuration you described:
browser -- https- mod_proxy - http - php
and i don't have any problem with it. Maybe it's an Apache
misconfiguration. Can you send a snap of your httpd.conf?
On 4/26/06, Lmwangi [EMAIL PROTECTED] wrote:
Hi all,
First time on the list... sorry for any
Lmwangi wrote:
Ok thanx. Let me try squid I have posted the mail on the apache
list.. Oh and btw i downgrade my rank. Its no longer voodoo.. So don't
go looking for new name ;-)
ah good - have fun with Squid - but beware it has more arms than you to fight
with ;-)
--
PHP General Mailing
Matthew Weier O'Phinney wrote:
* Merlin [EMAIL PROTECTED]:
Hi there,
I am outputting an multidim. array. That works fine, except one thing. The first
letter of the value inside dimension 1 always gets printed.
For example:
I fill the arrays:
while ($row = mysql_fetch_object($result)){
* Merlin [EMAIL PROTECTED]:
Hi there,
I am outputting an multidim. array. That works fine, except one thing. The
first
letter of the value inside dimension 1 always gets printed.
For example:
I fill the arrays:
while ($row = mysql_fetch_object($result)){
Matthew Weier O'Phinney wrote:
* Merlin [EMAIL PROTECTED]:
Hi there,
I am outputting an multidim. array. That works fine, except one thing. The first
letter of the value inside dimension 1 always gets printed.
For example:
I fill the arrays:
while ($row = mysql_fetch_object($result)){
* Merlin [EMAIL PROTECTED] :
Matthew Weier O'Phinney wrote:
* Merlin [EMAIL PROTECTED] :
I am outputting an multidim. array. That works fine, except one thing.
The first
letter of the value inside dimension 1 always gets printed.
For example:
I fill the arrays:
while
on 10/1/03 7:50 PM, Richard Baskett at [EMAIL PROTECTED] wrote:
Well I saw a post on a forum talking about a certain bug that PHP has for Mac
OS X.. so I thought.. Im on OS X, I should see if that bug is real since on
bugs.php.net they say it's bogus which you can view here:
http
16 matches
Mail list logo