PageRenderTime 37ms CodeModel.GetById 14ms RepoModel.GetById 0ms app.codeStats 0ms

/docs/www/node75.html

http://github.com/facebook/phpembed
HTML | 111 lines | 91 code | 11 blank | 9 comment | 0 complexity | a780547e120d3d03d6a0da9f232dae76 MD5 | raw file
Possible License(s): BSD-3-Clause
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
  2. <!--Converted with LaTeX2HTML 2002-2-1 (1.70)
  3. original version by: Nikos Drakos, CBLU, University of Leeds
  4. * revised and updated by: Marcus Hennecke, Ross Moore, Herb Swan
  5. * with significant contributions from:
  6. Jens Lippmann, Marek Rouchal, Martin Wilck and others -->
  7. <HTML>
  8. <HEAD>
  9. <TITLE>php_stl::call_long_long_map</TITLE>
  10. <META NAME="description" CONTENT="php_stl::call_long_long_map">
  11. <META NAME="keywords" CONTENT="phpembed">
  12. <META NAME="resource-type" CONTENT="document">
  13. <META NAME="distribution" CONTENT="global">
  14. <META NAME="Generator" CONTENT="LaTeX2HTML v2002-2-1">
  15. <META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css">
  16. <LINK REL="STYLESHEET" HREF="phpembed.css">
  17. <LINK REL="next" HREF="node76.html">
  18. <LINK REL="previous" HREF="node74.html">
  19. <LINK REL="up" HREF="node18.html">
  20. <LINK REL="next" HREF="node76.html">
  21. </HEAD>
  22. <BODY >
  23. <!--Navigation Panel-->
  24. <A NAME="tex2html1211"
  25. HREF="node76.html">
  26. <IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next"
  27. SRC="file:/usr/local/share/lib/latex2html/icons/next.png"></A>
  28. <A NAME="tex2html1207"
  29. HREF="node18.html">
  30. <IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up"
  31. SRC="file:/usr/local/share/lib/latex2html/icons/up.png"></A>
  32. <A NAME="tex2html1201"
  33. HREF="node74.html">
  34. <IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous"
  35. SRC="file:/usr/local/share/lib/latex2html/icons/prev.png"></A>
  36. <A NAME="tex2html1209"
  37. HREF="node1.html">
  38. <IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents"
  39. SRC="file:/usr/local/share/lib/latex2html/icons/contents.png"></A>
  40. <BR>
  41. <B> Next:</B> <A NAME="tex2html1212"
  42. HREF="node76.html">php_stl::call_long_set</A>
  43. <B> Up:</B> <A NAME="tex2html1208"
  44. HREF="node18.html">Function Reference</A>
  45. <B> Previous:</B> <A NAME="tex2html1202"
  46. HREF="node74.html">php_stl::call_long_long_hash_map</A>
  47. &nbsp; <B> <A NAME="tex2html1210"
  48. HREF="node1.html">Contents</A></B>
  49. <BR>
  50. <BR>
  51. <!--End of Navigation Panel-->
  52. <H2><A NAME="SECTION000857000000000000000">
  53. <TT>php_stl::call_long_long_map</TT></A>
  54. </H2>
  55. <P>
  56. <PRE>
  57. #include "php_stl.h"
  58. map&lt;long, long&gt;
  59. php_stl::call_long_long_map(char *fn, char *argspec = "", ...);
  60. </PRE>
  61. <P>
  62. <I>Description:</I> Call the PHP function <code>fn</code> with the arguments described by <code>argspec</code> and included as subsequent arguments. If <code>argspec</code> is not specified the function will be called without any arguments. The type of the value returned from PHP must be an array and each key-value pair in that array will be inserted into an STL map as such. Each time PHP type conversion is necessary to convert a key or value in the array to a <code>long</code> it may generate a type mismatch warning if those warnings are enabled.
  63. <P>
  64. <I>Errors:</I> It is an error for the number of arguments described in <code>argspec</code> to differ from the number of arguments provided thereafter. It is an error for the types of additional arguments to differ from their description in <code>argspec</code>(see Table 1 on page&nbsp;<A HREF="node9.html#Table1"><IMG ALIGN="BOTTOM" BORDER="1" ALT="[*]"
  65. SRC="file:/usr/local/share/lib/latex2html/icons/crossref.png"></A> for details). If the value returned by PHP is not an array <code>call_long_long_map</code> will output a type mismatch error (regardless of whether type warnings are on or not) and return an empty map. Any internal errors during execution will result in the <code>status</code> flag (see <code>php::status</code>) being set to a nonzero value.
  66. <P>
  67. <HR>
  68. <!--Navigation Panel-->
  69. <A NAME="tex2html1211"
  70. HREF="node76.html">
  71. <IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next"
  72. SRC="file:/usr/local/share/lib/latex2html/icons/next.png"></A>
  73. <A NAME="tex2html1207"
  74. HREF="node18.html">
  75. <IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up"
  76. SRC="file:/usr/local/share/lib/latex2html/icons/up.png"></A>
  77. <A NAME="tex2html1201"
  78. HREF="node74.html">
  79. <IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous"
  80. SRC="file:/usr/local/share/lib/latex2html/icons/prev.png"></A>
  81. <A NAME="tex2html1209"
  82. HREF="node1.html">
  83. <IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents"
  84. SRC="file:/usr/local/share/lib/latex2html/icons/contents.png"></A>
  85. <BR>
  86. <B> Next:</B> <A NAME="tex2html1212"
  87. HREF="node76.html">php_stl::call_long_set</A>
  88. <B> Up:</B> <A NAME="tex2html1208"
  89. HREF="node18.html">Function Reference</A>
  90. <B> Previous:</B> <A NAME="tex2html1202"
  91. HREF="node74.html">php_stl::call_long_long_hash_map</A>
  92. &nbsp; <B> <A NAME="tex2html1210"
  93. HREF="node1.html">Contents</A></B>
  94. <!--End of Navigation Panel-->
  95. <ADDRESS>
  96. Andrew Bosworth
  97. 2008-03-24
  98. </ADDRESS>
  99. </BODY>
  100. </HTML>