1
0
mirror of https://github.com/php/web-php.git synced 2026-03-24 15:22:19 +01:00
Files
archived-web-php/apachecon/s_api3.php3
Rasmus Lerdorf 2424277ad8 Add main slides
1998-10-21 23:44:28 +00:00

18 lines
382 B
PHP
Executable File

<? require "header.inc"; ?>
<h1>Using the function arguments</h1>
<ul>
<li>convert_to_long(arg1);
<li>convert_to_double(arg1);
<li>convert_to_string(arg1);
<li>convert_to_boolean_long(arg1);
<li>convert_string_to_number(arg1);
</ul>
<pre>
For type:
IS_STRING use arg1->value.str.val
IS_LONG arg1->value.lval
IS_DOUBLE arg1->value.dval
</pre>
<? require "footer.inc"; ?>