Permalink
Browse files

phpembed: moving current source under trunk

git-svn-id: svn+ssh://tubbs/svnroot/projects/phpembed/trunk@33531 2c7ba8d8-a2f7-0310-a573-de162e16dcc7
  • Loading branch information...
shire
shire committed Feb 15, 2007
1 parent b9a0a21 commit c92f5243fd60239a55a89d9951e47115933454ff
Showing with 17,209 additions and 0 deletions.
  1. +27 −0 LICENSE
  2. +51 −0 SConstruct
  3. BIN docs/phpembed.pdf
  4. +1,418 −0 docs/phpembed.tex
  5. +4 −0 docs/www/WARNINGS
  6. +67 −0 docs/www/footnode.html
  7. BIN docs/www/image.png
  8. +272 −0 docs/www/index.html
  9. +14 −0 docs/www/internals.pl
  10. +29 −0 docs/www/labels.pl
  11. +266 −0 docs/www/node1.html
  12. +163 −0 docs/www/node10.html
  13. +209 −0 docs/www/node11.html
  14. +71 −0 docs/www/node12.html
  15. +84 −0 docs/www/node13.html
  16. +70 −0 docs/www/node14.html
  17. +73 −0 docs/www/node15.html
  18. +70 −0 docs/www/node16.html
  19. +69 −0 docs/www/node17.html
  20. +226 −0 docs/www/node18.html
  21. +87 −0 docs/www/node19.html
  22. +105 −0 docs/www/node2.html
  23. +84 −0 docs/www/node20.html
  24. +111 −0 docs/www/node21.html
  25. +84 −0 docs/www/node22.html
  26. +111 −0 docs/www/node23.html
  27. +84 −0 docs/www/node24.html
  28. +111 −0 docs/www/node25.html
  29. +111 −0 docs/www/node26.html
  30. +84 −0 docs/www/node27.html
  31. +111 −0 docs/www/node28.html
  32. +84 −0 docs/www/node29.html
  33. +106 −0 docs/www/node3.html
  34. +111 −0 docs/www/node30.html
  35. +84 −0 docs/www/node31.html
  36. +96 −0 docs/www/node32.html
  37. +83 −0 docs/www/node33.html
  38. +80 −0 docs/www/node34.html
  39. +80 −0 docs/www/node35.html
  40. +80 −0 docs/www/node36.html
  41. +83 −0 docs/www/node37.html
  42. +83 −0 docs/www/node38.html
  43. +84 −0 docs/www/node39.html
  44. +72 −0 docs/www/node4.html
  45. +111 −0 docs/www/node40.html
  46. +111 −0 docs/www/node41.html
  47. +83 −0 docs/www/node42.html
  48. +84 −0 docs/www/node43.html
  49. +80 −0 docs/www/node44.html
  50. +83 −0 docs/www/node45.html
  51. +83 −0 docs/www/node46.html
  52. +83 −0 docs/www/node47.html
  53. +83 −0 docs/www/node48.html
  54. +83 −0 docs/www/node49.html
  55. +72 −0 docs/www/node5.html
  56. +83 −0 docs/www/node50.html
  57. +83 −0 docs/www/node51.html
  58. +83 −0 docs/www/node52.html
  59. +83 −0 docs/www/node53.html
  60. +80 −0 docs/www/node54.html
  61. +80 −0 docs/www/node55.html
  62. +80 −0 docs/www/node56.html
  63. +80 −0 docs/www/node57.html
  64. +80 −0 docs/www/node58.html
  65. +82 −0 docs/www/node59.html
  66. +91 −0 docs/www/node6.html
  67. +87 −0 docs/www/node60.html
  68. +84 −0 docs/www/node61.html
  69. +111 −0 docs/www/node62.html
  70. +111 −0 docs/www/node63.html
  71. +111 −0 docs/www/node64.html
  72. +111 −0 docs/www/node65.html
  73. +109 −0 docs/www/node66.html
  74. +111 −0 docs/www/node67.html
  75. +111 −0 docs/www/node68.html
  76. +111 −0 docs/www/node69.html
  77. +157 −0 docs/www/node7.html
  78. +111 −0 docs/www/node70.html
  79. +111 −0 docs/www/node71.html
  80. +111 −0 docs/www/node72.html
  81. +111 −0 docs/www/node73.html
  82. +111 −0 docs/www/node74.html
  83. +111 −0 docs/www/node75.html
  84. +111 −0 docs/www/node76.html
  85. +111 −0 docs/www/node77.html
  86. +111 −0 docs/www/node78.html
  87. +111 −0 docs/www/node79.html
  88. +111 −0 docs/www/node8.html
  89. +111 −0 docs/www/node80.html
  90. +111 −0 docs/www/node81.html
  91. +111 −0 docs/www/node82.html
  92. +111 −0 docs/www/node83.html
  93. +111 −0 docs/www/node84.html
  94. +111 −0 docs/www/node85.html
  95. +111 −0 docs/www/node86.html
  96. +111 −0 docs/www/node87.html
  97. +111 −0 docs/www/node88.html
  98. +111 −0 docs/www/node89.html
  99. +143 −0 docs/www/node9.html
  100. +111 −0 docs/www/node90.html
  101. +111 −0 docs/www/node91.html
  102. +105 −0 docs/www/node92.html
  103. +72 −0 docs/www/node93.html
  104. +125 −0 docs/www/node94.html
  105. +73 −0 docs/www/node95.html
  106. +78 −0 docs/www/node96.html
  107. +30 −0 docs/www/phpembed.css
  108. +272 −0 docs/www/phpembed.html
  109. +118 −0 examples/example.cpp
  110. +28 −0 examples/example.php
  111. +591 −0 examples/test.cpp
  112. +129 −0 examples/test.php
  113. +100 −0 examples/usage.cpp
  114. +12 −0 examples/usage.php
  115. +579 −0 src/php_arr.cpp
  116. +179 −0 src/php_arr.h
  117. +901 −0 src/php_cxx.cpp
  118. +133 −0 src/php_cxx.h
  119. +1,914 −0 src/php_stl.cpp
  120. +90 −0 src/php_stl.h
  121. +251 −0 src/php_tok.cpp
  122. +132 −0 src/php_tok.h
  123. +134 −0 src/php_tok_consts.h
View
27 LICENSE
@@ -0,0 +1,27 @@
+THE PHPEMBED LICENSE AGREEMENT
+
+Copyright (c) 2007, Andrew Bosworth, Brian Shire, Facebook, inc.
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are met:
+
+* Redistributions of source code must retain the above copyright notice,
+this list of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the above copyright
+notice, this list of conditions and the following disclaimer in the
+documentation and/or other materials provided with the distribution.
+* Neither the name of Facebook, inc. nor the names of its contributors may
+be used to endorse or promote products derived from this software without
+specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
+FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
+CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
View
@@ -0,0 +1,51 @@
+#
+# DIRECTORY VARIABLES
+# to keep code maximally portable, keep ALL directory references here
+#
+
+src = '#src/'
+examples = '#examples/'
+phpd = '/usr/local/php/include/php/'
+phpdirs = [phpd, phpd+'Zend/', phpd+'TSRM/', phpd+'main/', phpd+'sapi/embed/']
+
+
+#
+# DEFINE BUILD ENVIRONMENT
+# universal setting used for all programs for compilation
+#
+
+env = Environment(CPPFLAGS='-Wall -g',
+ CPPPATH=phpdirs + [src],
+ LINKFLAGS='`php-config --includes` `php-config --ldflags` `php-config --libs`')
+
+libtarget = "phpembed"
+libsources = [src + 'php_cxx.cpp', src + 'php_arr.cpp',
+ src + 'php_stl.cpp', src + 'php_tok.cpp']
+env.StaticLibrary(target = libtarget, source = libsources)
+
+
+#
+# BUILD EXECUTABLES
+# go to all children and execute their SConscripts
+#
+
+test = env.Program(target = 'test',
+ source = [examples + 'test.cpp',
+ 'libphpembed.a',
+ '/usr/local/php/lib/libphp5.a'],
+ LIBS = '',
+ LIBPATH = '')
+
+example = env.Program(target = 'example',
+ source = [examples + 'example.cpp',
+ 'libphpembed.a',
+ '/usr/local/php/lib/libphp5.a'],
+ LIBS = '',
+ LIBPATH = '')
+
+usage = env.Program(target = 'usage',
+ source = [examples + 'usage.cpp',
+ 'libphpembed.a',
+ '/usr/local/php/lib/libphp5.a'],
+ LIBS = '',
+ LIBPATH = '')
View
Binary file not shown.
View

Large diffs are not rendered by default.

Oops, something went wrong.
View
@@ -0,0 +1,4 @@
+No implementation found for style `ifpdf'
+No implementation found for style `hyperref'
+
+Substitution of arg to newlabelxx delayed.
View
@@ -0,0 +1,67 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
+
+<!--Converted with LaTeX2HTML 2002-2-1 (1.70)
+original version by: Nikos Drakos, CBLU, University of Leeds
+* revised and updated by: Marcus Hennecke, Ross Moore, Herb Swan
+* with significant contributions from:
+ Jens Lippmann, Marek Rouchal, Martin Wilck and others -->
+<HTML>
+<HEAD>
+<TITLE>Footnotes</TITLE>
+<META NAME="description" CONTENT="Footnotes">
+<META NAME="keywords" CONTENT="phpembed">
+<META NAME="resource-type" CONTENT="document">
+<META NAME="distribution" CONTENT="global">
+
+<META NAME="Generator" CONTENT="LaTeX2HTML v2002-2-1">
+<META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css">
+
+<LINK REL="STYLESHEET" HREF="phpembed.css">
+
+<LINK REL="previous" HREF="node95.html">
+<LINK REL="up" HREF="phpembed.html">
+</HEAD>
+
+<BODY >
+
+<DL>
+<DT><A NAME="foot668">... case.</A><A
+ HREF="node3.html#tex2html4"><SUP>1</SUP></A></DT>
+<DD><A NAME="tex2html5"
+ HREF="http://www.research.att.com/~bs/bs_faq2.html">Bjarne Stroustrup would approve: http://www.research.att.com/~bs/bs_faq2.html</A>
+
+<PRE>.
+.
+.
+.
+.
+.
+.
+.
+.
+.
+.
+.
+.
+.
+.
+.
+.
+.
+.
+.
+.
+.
+.
+.
+.
+.
+.
+.
+.
+.
+</PRE>
+</DD>
+</DL>
+</BODY>
+</HTML>
View
Binary file not shown.
Oops, something went wrong.

0 comments on commit c92f524

Please sign in to comment.