On Sun, 14 Mar 2010 22:02:22 +0800, Ashley Sheridan wrote:
On Sun, 2010-03-14 at 21:58 +0800, Dasn wrote:
Hello, I want to convert some xml stuff to simple string using php, say:
left center1okcenter2right
XML;
$xml = simplexml_load_string($string);
echo $xml;
?>
The code will out
On Sun, 14 Mar 2010 22:02:22 +0800, Ashley Sheridan wrote:
On Sun, 2010-03-14 at 21:58 +0800, Dasn wrote:
Hello, I want to convert some xml stuff to simple string using php, say:
left center1okcenter2right
XML;
$xml = simplexml_load_string($string);
echo $xml;
?>
The code will out
1 ok center2 right" ?
Thanks in advance, and please Cc me. :)
--
Dasn
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
typed language that compiles to multiple targets, one of which is PHP.
Thanks Nathan for your comment. But I think the PHPDoc stuff is only for
user defined functions, right? The Reflection::getDocComment() has no idea
about the built-in functions.
--
Dasn
--
PHP General Mailing List (http
}
}
The problem is there's no 'return type' (i.e. 'string' in this example)
info about the function.
Could you tell me how to retrieve the 'return type'?
Thanks.
--
Dasn
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi guys. How to convert an array like:
Array
(
[0] => key1
[1] => value1
[2] => key2
[3] => value2
)
to
Array
(
[key1] => value1
[key2] => value2
)
Is there a built-in function to do this?
Please Cc me. :)
Thank you in advance.
--
PHP General Mailing List (http://www
e syntax error. Why?
My php version:
D:\>php -version
PHP 5.3.1 (cli) (built: Nov 19 2009 10:17:43)
Copyright (c) 1997-2009 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2009 Zend Technologies
I'm currently not on this list, please Cc your comment to me.
Thanks in advance.
--
Dasn
--
Dasn
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
8 matches
Mail list logo