├── Makefile.config.in
├── Makefile.in
├── Makefile.mingw
├── README
├── acinclude.m4
├── aclocal.m4
├── benchmarks
├── Makefile
├── data
│ ├── include
│ │ ├── finc.php
│ │ ├── finc1.php
│ │ ├── finc10.php
│ │ ├── finc11.php
│ │ ├── finc12.php
│ │ ├── finc13.php
│ │ ├── finc14.php
│ │ ├── finc15.php
│ │ ├── finc16.php
│ │ ├── finc17.php
│ │ ├── finc18.php
│ │ ├── finc19.php
│ │ ├── finc2.php
│ │ ├── finc20.php
│ │ ├── finc3.php
│ │ ├── finc4.php
│ │ ├── finc5.php
│ │ ├── finc6.php
│ │ ├── finc7.php
│ │ ├── finc8.php
│ │ ├── finc9.php
│ │ ├── inc.php
│ │ ├── inc1.php
│ │ ├── inc10.php
│ │ ├── inc11.php
│ │ ├── inc12.php
│ │ ├── inc13.php
│ │ ├── inc14.php
│ │ ├── inc15.php
│ │ ├── inc16.php
│ │ ├── inc17.php
│ │ ├── inc18.php
│ │ ├── inc19.php
│ │ ├── inc2.php
│ │ ├── inc20.php
│ │ ├── inc3.php
│ │ ├── inc4.php
│ │ ├── inc5.php
│ │ ├── inc6.php
│ │ ├── inc7.php
│ │ ├── inc8.php
│ │ ├── inc9.php
│ │ ├── main.cpt
│ │ ├── main00.cpt
│ │ ├── main01.cpt
│ │ ├── main02.cpt
│ │ ├── main03.cpt
│ │ ├── main04.cpt
│ │ ├── main05.cpt
│ │ ├── main06.cpt
│ │ ├── main07.cpt
│ │ ├── main08.cpt
│ │ ├── main09.cpt
│ │ ├── main10.cpt
│ │ ├── main11.cpt
│ │ ├── main12.cpt
│ │ ├── main13.cpt
│ │ ├── main14.cpt
│ │ ├── main15.cpt
│ │ ├── main16.cpt
│ │ ├── main17.cpt
│ │ ├── main18.cpt
│ │ ├── main19.cpt
│ │ ├── main20.cpt
│ │ ├── main21.cpt
│ │ ├── main22.cpt
│ │ ├── main23.cpt
│ │ ├── main24.cpt
│ │ ├── main25.cpt
│ │ ├── main26.cpt
│ │ ├── main27.cpt
│ │ ├── main28.cpt
│ │ ├── main29.cpt
│ │ ├── main30.cpt
│ │ ├── main31.cpt
│ │ ├── main32.cpt
│ │ ├── main33.cpt
│ │ ├── main34.cpt
│ │ ├── main35.cpt
│ │ ├── main36.cpt
│ │ ├── main37.cpt
│ │ ├── main38.cpt
│ │ ├── main39.cpt
│ │ ├── main40.cpt
│ │ ├── main41.cpt
│ │ ├── main42.cpt
│ │ ├── main43.cpt
│ │ ├── main44.cpt
│ │ ├── main45.cpt
│ │ ├── main46.cpt
│ │ ├── main47.cpt
│ │ ├── main48.cpt
│ │ ├── main49.cpt
│ │ ├── main50.cpt
│ │ ├── main51.cpt
│ │ ├── main52.cpt
│ │ ├── main53.cpt
│ │ ├── main54.cpt
│ │ ├── main55.cpt
│ │ ├── main56.cpt
│ │ ├── main57.cpt
│ │ ├── main58.cpt
│ │ ├── main59.cpt
│ │ ├── main60.cpt
│ │ ├── main61.cpt
│ │ ├── main62.cpt
│ │ ├── main63.cpt
│ │ ├── main64.cpt
│ │ ├── main65.cpt
│ │ ├── main66.cpt
│ │ ├── main67.cpt
│ │ ├── main68.cpt
│ │ ├── main69.cpt
│ │ ├── main70.cpt
│ │ ├── main71.cpt
│ │ ├── main72.cpt
│ │ ├── main73.cpt
│ │ ├── main74.cpt
│ │ ├── main75.cpt
│ │ ├── main76.cpt
│ │ ├── main77.cpt
│ │ ├── main78.cpt
│ │ ├── main79.cpt
│ │ ├── main80.cpt
│ │ ├── main81.cpt
│ │ ├── main82.cpt
│ │ ├── main83.cpt
│ │ ├── main84.cpt
│ │ ├── main85.cpt
│ │ ├── main86.cpt
│ │ ├── main87.cpt
│ │ ├── main88.cpt
│ │ ├── main89.cpt
│ │ ├── main90.cpt
│ │ ├── main91.cpt
│ │ ├── main92.cpt
│ │ ├── main93.cpt
│ │ ├── main94.cpt
│ │ ├── main95.cpt
│ │ ├── main96.cpt
│ │ ├── main97.cpt
│ │ ├── main98.cpt
│ │ └── main99.cpt
│ ├── pcre-data.xml
│ ├── spellcheck
│ ├── xml-data-0.xml
│ └── xml-data-1.xml
├── regression
│ └── file.php
└── tests
│ ├── ackermann.php
│ ├── array.php
│ ├── ary.php
│ ├── ary2.php
│ ├── ary3.php
│ ├── btrees.php
│ ├── empty.php
│ ├── explode.php
│ ├── fannkuch.php
│ ├── fasta.php
│ ├── fibo.php
│ ├── gabriel-stak.php
│ ├── gabriel-tak.php
│ ├── gabriel-takf.php
│ ├── gabriel-takl.php
│ ├── globals.php
│ ├── globals1.php
│ ├── hash.php
│ ├── hash2.php
│ ├── heapsort.php
│ ├── hello.php
│ ├── include.php
│ ├── julia-ppm.php
│ ├── mandelbrot.php
│ ├── matrix.php
│ ├── matrix.php2.php
│ ├── multi-dimensional.php
│ ├── mysql.php
│ ├── mysql2.php
│ ├── nestedloop.php
│ ├── nsieve-bits.php
│ ├── nsieve.php
│ ├── num-test.php
│ ├── objects.php
│ ├── partial-sums.php
│ ├── pcre.php
│ ├── preg_replace.php
│ ├── random.php
│ ├── resource-cleanup.php
│ ├── reversefile.php
│ ├── sieve.php
│ ├── spectral-norm.php
│ ├── spellcheck.php
│ ├── str_replace.php
│ ├── strcat.php
│ ├── strpos.php
│ ├── wc.php
│ └── xmlparse.php
├── bigloo-rules.mk
├── bugs
├── Makefile
├── known-failures
└── tests
│ ├── 1052-2.inc
│ ├── 1052-3.inc
│ ├── 1580.inc
│ ├── bug-id-0000692.php
│ ├── bug-id-0000693.php
│ ├── bug-id-0000694.php
│ ├── bug-id-0000696.php
│ ├── bug-id-0000697.php
│ ├── bug-id-0000700.php
│ ├── bug-id-0000701.php
│ ├── bug-id-0000702.php
│ ├── bug-id-0000727.php
│ ├── bug-id-0000728.php
│ ├── bug-id-0000729.php
│ ├── bug-id-0000730.php
│ ├── bug-id-0000731.php
│ ├── bug-id-0000732.php
│ ├── bug-id-0000733.php
│ ├── bug-id-0000734.php
│ ├── bug-id-0000735.php
│ ├── bug-id-0000736.php
│ ├── bug-id-0000750.php
│ ├── bug-id-0000751.php
│ ├── bug-id-0000772.php
│ ├── bug-id-0000790.php
│ ├── bug-id-0000791.php
│ ├── bug-id-0000792.php
│ ├── bug-id-0000793.php
│ ├── bug-id-0000794.php
│ ├── bug-id-0000795.php
│ ├── bug-id-0000796.php
│ ├── bug-id-0000797.php
│ ├── bug-id-0000798.php
│ ├── bug-id-0000799.php
│ ├── bug-id-0000800.php
│ ├── bug-id-0000828.php
│ ├── bug-id-0000882.php
│ ├── bug-id-0000883.php
│ ├── bug-id-0000892.php
│ ├── bug-id-0000894.php
│ ├── bug-id-0000897.php
│ ├── bug-id-0000906.php
│ ├── bug-id-0000912.php
│ ├── bug-id-0000914.php
│ ├── bug-id-0000916.php
│ ├── bug-id-0000917.php
│ ├── bug-id-0000919.php
│ ├── bug-id-0000921.php
│ ├── bug-id-0000922.php
│ ├── bug-id-0000923.php
│ ├── bug-id-0000926.php
│ ├── bug-id-0000927.php
│ ├── bug-id-0000939.php
│ ├── bug-id-0000940.php
│ ├── bug-id-0000952.php
│ ├── bug-id-0000953.php
│ ├── bug-id-0000959.php
│ ├── bug-id-0000962.php
│ ├── bug-id-0000981.php
│ ├── bug-id-0000982.php
│ ├── bug-id-0000983.php
│ ├── bug-id-0000986.php
│ ├── bug-id-0000993.php
│ ├── bug-id-0000999.php
│ ├── bug-id-0001001.php
│ ├── bug-id-0001017.php
│ ├── bug-id-0001024.php
│ ├── bug-id-0001028.php
│ ├── bug-id-0001047.php
│ ├── bug-id-0001051.php
│ ├── bug-id-0001052.php
│ ├── bug-id-0001057.php
│ ├── bug-id-0001076.php
│ ├── bug-id-0001079.php
│ ├── bug-id-0001082.php
│ ├── bug-id-0001090.php
│ ├── bug-id-0001092.php
│ ├── bug-id-0001102.php
│ ├── bug-id-0001104.php
│ ├── bug-id-0001106.php
│ ├── bug-id-0001107.php
│ ├── bug-id-0001108.php
│ ├── bug-id-0001109.php
│ ├── bug-id-0001110.php
│ ├── bug-id-0001112.php
│ ├── bug-id-0001113.php
│ ├── bug-id-0001115.php
│ ├── bug-id-0001116.php
│ ├── bug-id-0001118.php
│ ├── bug-id-0001120.php
│ ├── bug-id-0001122.php
│ ├── bug-id-0001123.php
│ ├── bug-id-0001125.php
│ ├── bug-id-0001126.php
│ ├── bug-id-0001127.php
│ ├── bug-id-0001128.php
│ ├── bug-id-0001133.php
│ ├── bug-id-0001135.php
│ ├── bug-id-0001137.php
│ ├── bug-id-0001139.php
│ ├── bug-id-0001140.php
│ ├── bug-id-0001141.php
│ ├── bug-id-0001142.php
│ ├── bug-id-0001143.php
│ ├── bug-id-0001144.php
│ ├── bug-id-0001145.php
│ ├── bug-id-0001146.php
│ ├── bug-id-0001148.php
│ ├── bug-id-0001149.php
│ ├── bug-id-0001150.php
│ ├── bug-id-0001151.php
│ ├── bug-id-0001152.php
│ ├── bug-id-0001153.php
│ ├── bug-id-0001154.php
│ ├── bug-id-0001155.php
│ ├── bug-id-0001158.php
│ ├── bug-id-0001159.php
│ ├── bug-id-0001166.php
│ ├── bug-id-0001185.php
│ ├── bug-id-0001208.php
│ ├── bug-id-0001217.php
│ ├── bug-id-0001221.php
│ ├── bug-id-0001246.php
│ ├── bug-id-0001263.php
│ ├── bug-id-0001339.php
│ ├── bug-id-0001345.php
│ ├── bug-id-0001407.php
│ ├── bug-id-0001437.php
│ ├── bug-id-0001495.php
│ ├── bug-id-0001534.php
│ ├── bug-id-0001536.php
│ ├── bug-id-0001580.php
│ ├── bug-id-0001581.php
│ ├── bug-id-0001709.php
│ ├── bug-id-0001723.php
│ ├── bug-id-0001762.php
│ ├── bug-id-0001812.php
│ ├── bug-id-0001819.php
│ ├── bug-id-0001824.php
│ ├── bug-id-0001825.php
│ ├── bug-id-0001829.php
│ ├── bug-id-0001832.php
│ ├── bug-id-0001834.php
│ ├── bug-id-0001839.php
│ ├── bug-id-0001841.php
│ ├── bug-id-0001843.php
│ ├── bug-id-0001844.php
│ ├── bug-id-0001845.php
│ ├── bug-id-0001847.php
│ ├── bug-id-0001849.php
│ ├── bug-id-0001854.php
│ ├── bug-id-0001861.php
│ ├── bug-id-0001886.php
│ ├── bug-id-0001888.php
│ ├── bug-id-0001889.php
│ ├── bug-id-0001901.php
│ ├── bug-id-0001916.php
│ ├── bug-id-0001938.php
│ ├── bug-id-0001939.php
│ ├── bug-id-0001940.php
│ ├── bug-id-0001971.php
│ ├── bug-id-0002036.php
│ ├── bug-id-0002039.php
│ ├── bug-id-0002040.php
│ ├── bug-id-0002128.php
│ ├── bug-id-0002131.php
│ ├── bug-id-0002248.php
│ ├── bug-id-0002385.php
│ ├── bug-id-0002492.php
│ ├── bug-id-0002565.php
│ ├── bug-id-0002611.php
│ ├── bug-id-0002765.php
│ ├── bug-id-0002792.php
│ ├── bug-id-0002793.php
│ ├── bug-id-0003085.php
│ ├── bug-id-0003090.php
│ ├── bug-id-0003091.php
│ ├── bug-id-0003109.php
│ ├── bug-id-0003160.php
│ ├── bug-id-0003162.php
│ ├── bug-id-0003165.php
│ ├── bug-id-0003166.php
│ ├── bug-id-0003191.php
│ ├── bug-id-0003207.php
│ ├── bug-id-0003209.php
│ ├── bug-id-0003210.php
│ ├── bug-id-0003212.php
│ ├── bug-id-0003213.php
│ ├── bug-id-0003223.php
│ ├── bug-id-0003224.php
│ ├── bug-id-0003226.php
│ ├── bug-id-0003227.php
│ ├── bug-id-0003230.php
│ ├── bug-id-0003250.php
│ ├── bug-id-0003251.php
│ ├── bug-id-0003256.php
│ ├── bug-id-0003480.php
│ ├── bug-id-0003497.php
│ └── strings_english.inc
├── compiler
├── Makefile
├── ast.scm
├── basic-blocks.scm
├── cfa.scm
├── commandline.scm
├── config.scm.in
├── containers.scm
├── debugger.h
├── debugger.scm
├── declare.scm
├── driver.scm
├── dynloader.scm
├── evaluate.scm
├── generate.scm
├── include.scm
├── lexers.scm
├── make-lib.scm
├── parser.scm
├── pdb.scm
├── registry.c
├── show-copies.scm
├── synhighlight.scm
├── tags.scm
├── target.scm
└── tcc-binding.scm
├── config.guess
├── config.sub
├── configure
├── configure.in
├── doc
├── COMPILER-LICENSE
├── Makefile
├── RUNTIME-LICENSE
├── api
│ ├── HOWTO
│ ├── Makefile
│ └── api-main.texi
├── examples
│ └── cl-project
│ │ ├── Makefile
│ │ ├── inc1.php
│ │ ├── inc2.php
│ │ └── main.php
├── glade-tutorial
│ ├── Makefile
│ ├── glade-tutorial.texinfo
│ ├── mp3-manager.glade
│ ├── mp3-manager.php
│ └── song-details.glade
├── manual
│ ├── Makefile
│ ├── fdl.texi
│ └── the_roadsend_php_compiler.texi
├── pcc.conf.sample
├── pcc.conf.var.in
├── resources
│ ├── apache-request-flow.dia
│ ├── app-runtime-include.dia
│ ├── app-runtime-include.png
│ ├── arg-1.png
│ ├── breakpoint-1.png
│ ├── breakpoint-2.png
│ ├── call-stack-1.png
│ ├── code-browse-1.png
│ ├── compile-vs-interpret.dia
│ ├── compile-vs-interpret.png
│ ├── debug-toolbar-1.png
│ ├── deploy-1.png
│ ├── editorc-1.png
│ ├── editorc-2.png
│ ├── editorc-3.png
│ ├── editorc-4.png
│ ├── file-browse-1.png
│ ├── idec-1.png
│ ├── idec-2.png
│ ├── idec-3.png
│ ├── idec-4.png
│ ├── idec-5.png
│ ├── idec-6.png
│ ├── idec-7.png
│ ├── interp-lib-include.dia
│ ├── interp-lib-include.png
│ ├── lic-1.png
│ ├── lic-2.png
│ ├── local-vars-1.png
│ ├── main-1.png
│ ├── multi-source-app.dia
│ ├── multi-source-app.png
│ ├── pfile-browse-1.png
│ ├── projc-comp-options.png
│ ├── projc-files.png
│ ├── projc-lib-creation.png
│ ├── projc-libs.png
│ ├── projc-linked.png
│ ├── projc-micro.png
│ ├── projc-options.png
│ ├── projc-search-paths.png
│ ├── projc-webapp.png
│ ├── toolbar-1.png
│ ├── using-libs.dia
│ └── using-libs.png
└── tutorial
│ ├── Makefile
│ ├── deploy-tutorial.texinfo
│ ├── phpbb-tutorial.texinfo
│ ├── project-properties.png
│ └── scribble-source-entered.png
├── dotest.scm
├── install-runtime.sh
├── install.sh
├── packages
├── Makefile
├── README
├── deb
│ ├── Makefile
│ ├── roadsend-pcc-prereqs.control.template
│ ├── roadsend-pcc-prereqs.postinst.template
│ ├── roadsend-pcc-prereqs.postrm.template
│ ├── roadsend-pcc-runtime.control.template
│ ├── roadsend-pcc-runtime.postinst.template
│ ├── roadsend-pcc-runtime.postrm.template
│ ├── roadsend-pcc-runtime.preinst.template
│ ├── roadsend-pcc.control.template
│ ├── roadsend-pcc.postinst.template
│ ├── roadsend-pcc.postrm.template
│ └── roadsend-pcc.preinst.template
├── packages.mk
├── rpm
│ ├── Makefile
│ ├── install-compiler-rpm.sh.template
│ ├── install-runtime-rpm.sh.template
│ ├── roadsend-pcc-prereqs.spec.template
│ ├── roadsend-pcc-runtime.spec.template
│ └── roadsend-pcc.spec.template
├── scripts
│ ├── install-bigloo-2.6c.sh
│ ├── install-bigloo-2.6d.sh
│ ├── install-bigloo-2.6e.sh
│ ├── install-bigloo-2.6f.sh
│ ├── install-bigloo-2.9a.sh
│ ├── install-bigloo-lib-0.20.sh
│ ├── install-bigloo-lib-0.21.sh
│ ├── make-installer-script.sh
│ ├── makeself
│ │ ├── COPYING
│ │ ├── README
│ │ ├── TODO
│ │ ├── makeself-header.sh
│ │ ├── makeself.lsm
│ │ └── makeself.sh
│ └── replace-tag-with-file.sh
├── self
│ ├── Makefile
│ ├── install-compiler.sh.template
│ └── install-runtime.sh.template
└── windows
│ ├── README.txt
│ ├── SetEnv.exe
│ ├── pcc.conf.tmpl
│ ├── pccFE.ini.tmpl
│ ├── pccpi.bat
│ ├── pccpi.sh
│ ├── projects
│ ├── cl-use-lib
│ │ ├── cl-use-lib.redb
│ │ ├── cl-use-lib.tags
│ │ └── main.php
│ ├── fcgi-project
│ │ ├── fcgi-project.redb
│ │ ├── fcgi-project.tags
│ │ └── index.php
│ ├── glade-project
│ │ ├── glade-project.rc
│ │ ├── glade-project.redb
│ │ ├── glade-project.tags
│ │ ├── mp3-manager.glade
│ │ ├── mp3-manager.php
│ │ └── song-details.glade
│ ├── gtk-project
│ │ ├── gtk-main.php
│ │ ├── gtk-project.rc
│ │ ├── gtk-project.redb
│ │ └── gtk-project.tags
│ ├── hello
│ │ ├── hello.rc
│ │ ├── hello.redb
│ │ ├── hello.tags
│ │ ├── inc.php
│ │ └── main.php
│ ├── lib-project
│ │ ├── lib-project.redb
│ │ ├── lib-project.tags
│ │ ├── lib1.php
│ │ ├── lib2.php
│ │ └── lib3.php
│ ├── micro-project
│ │ ├── home
│ │ │ └── main.php
│ │ ├── images
│ │ │ └── reSmLogo.png
│ │ ├── index.php
│ │ ├── info.php
│ │ ├── mhttpd_startup.inc
│ │ ├── micro-project.rc
│ │ ├── micro-project.redb
│ │ └── micro-project.tags
│ ├── php_file.ico
│ └── win-project
│ │ ├── main.php
│ │ ├── win-project.redb
│ │ └── win-project.tags
│ └── roadsend-compiler.iss
├── php-macros.scm
├── runtime
├── Makefile
├── blib.scm
├── builtin-classes.scm
├── c-runtime.c
├── config.h.in
├── constants.scm
├── containers.scm
├── core-builtins.scm
├── dynarray.scm
├── environments.scm
├── ext
│ ├── Makefile
│ ├── Makefile.skel
│ ├── curl
│ │ ├── Makefile
│ │ ├── curl-bindings.scm
│ │ ├── curl-c-bindings.scm
│ │ ├── curl-headers.h
│ │ ├── make-lib.scm
│ │ ├── other-tests
│ │ │ ├── dumppost.php
│ │ │ ├── foo.bin
│ │ │ ├── foo.txt
│ │ │ ├── formpost.php
│ │ │ └── ftpupload.php
│ │ ├── php-curl.sch
│ │ ├── php-curl.scm
│ │ └── tests
│ │ │ ├── basic.php
│ │ │ ├── callbacks.php
│ │ │ ├── curl-file-wrapper.php
│ │ │ ├── curlerrors.php
│ │ │ ├── curlssl.php
│ │ │ ├── getinfo.php
│ │ │ └── getpost.php
│ ├── extensions.mk
│ ├── gtk
│ │ ├── Makefile
│ │ ├── cigloo
│ │ │ ├── glade.scm
│ │ │ ├── gtk.scm
│ │ │ ├── gtkscintilla.scm
│ │ │ └── signals.scm
│ │ ├── custom-properties.scm
│ │ ├── define-classes.scm
│ │ ├── defs
│ │ │ ├── gdk.defs
│ │ │ ├── generate.scm
│ │ │ ├── gtk-extrafuncs.defs
│ │ │ ├── gtk.defs
│ │ │ ├── libglade.defs
│ │ │ └── scintilla.defs
│ │ ├── design
│ │ ├── gdk-enums.scm
│ │ ├── gtk-enums.scm
│ │ ├── gtk-foreign-types.defs
│ │ ├── gtk-static.scm
│ │ ├── gtk-style.scm
│ │ ├── make-lib.scm
│ │ ├── other-tests
│ │ │ ├── gtk.php
│ │ │ ├── hello-world.php
│ │ │ └── scribble.php
│ │ ├── php-gdk.scm
│ │ ├── php-glade.scm
│ │ ├── php-gtk-common.scm
│ │ ├── php-gtk-macros.sch
│ │ ├── php-gtk-overrides.scm
│ │ ├── php-gtk-signals.scm
│ │ ├── php-gtk.init
│ │ ├── php-gtk.sch
│ │ ├── php-gtk.scm
│ │ ├── php-gtkscintilla.scm
│ │ └── tests
│ │ │ ├── clist.php
│ │ │ ├── flags.php
│ │ │ ├── gdkcolor.php
│ │ │ ├── get-set-data.php
│ │ │ ├── idle.php
│ │ │ ├── style.php
│ │ │ └── timeout.php
│ ├── gtk2
│ │ ├── Makefile
│ │ ├── cigloo
│ │ │ ├── glade.scm
│ │ │ ├── gtk.scm
│ │ │ ├── gtkscintilla.scm
│ │ │ └── signals.scm
│ │ ├── custom-properties.scm
│ │ ├── define-classes.scm
│ │ ├── defs
│ │ │ ├── atk-types.defs
│ │ │ ├── atk.defs
│ │ │ ├── gdk-types.defs
│ │ │ ├── gdk.defs
│ │ │ ├── generate.scm
│ │ │ ├── gtk-extrafuncs.defs
│ │ │ ├── gtk-types.defs
│ │ │ ├── gtk.defs
│ │ │ ├── libglade.defs
│ │ │ ├── pango-types.defs
│ │ │ ├── pango.defs
│ │ │ └── scintilla.defs
│ │ ├── gdk-enums.scm
│ │ ├── gtk-enums.scm
│ │ ├── gtk-static.scm
│ │ ├── gtk-style.scm
│ │ ├── make-lib.scm
│ │ ├── other-tests
│ │ │ ├── hello.php
│ │ │ └── scribble.php
│ │ ├── php-gdk.scm
│ │ ├── php-glade.scm
│ │ ├── php-gtk-common.scm
│ │ ├── php-gtk-macros.sch
│ │ ├── php-gtk-overrides.scm
│ │ ├── php-gtk-signals.scm
│ │ ├── php-gtk.scm
│ │ ├── php-gtk2.sch
│ │ ├── php-gtkscintilla.scm
│ │ └── tests
│ │ │ └── enums.php
│ ├── mysql
│ │ ├── Makefile
│ │ ├── README
│ │ ├── c-bindings.defs
│ │ ├── c-bindings.scm
│ │ ├── make-lib.scm
│ │ ├── php-mysql.sch
│ │ ├── php-mysql.scm
│ │ ├── schema.sql
│ │ ├── tests
│ │ │ ├── createdb.php
│ │ │ ├── dataseek.php
│ │ │ ├── list_dbs.php
│ │ │ ├── list_fields.php
│ │ │ ├── mysql_escape_string.php
│ │ │ ├── mysql_field_name.php
│ │ │ ├── mysql_result.php
│ │ │ ├── openclose.php
│ │ │ ├── select.php
│ │ │ └── type_name_len_flags.php
│ │ └── windows-mysql.h
│ ├── odbc
│ │ ├── Makefile
│ │ ├── make-lib.scm
│ │ ├── odbc-bindings.scm
│ │ ├── odbc-utils.c
│ │ ├── odbc-utils.h
│ │ ├── php-odbc.sch
│ │ ├── php-odbc.scm
│ │ ├── tests
│ │ │ ├── commit-rollback.php
│ │ │ ├── connect.inc
│ │ │ ├── connectclose.php
│ │ │ ├── dsnconnect.php
│ │ │ ├── errormsg.php
│ │ │ ├── exec.php
│ │ │ ├── fetches.php
│ │ │ ├── fetchrow.php
│ │ │ ├── gettypeinfo.php
│ │ │ ├── link-info-functions.php
│ │ │ ├── linkoptions.php
│ │ │ ├── prepare-execute.php
│ │ │ └── resultoptions.php
│ │ └── windows-odbc.h
│ ├── pcc-win
│ │ ├── Makefile
│ │ ├── make-lib.scm
│ │ ├── pcc-win.h
│ │ ├── pcc-win.sch
│ │ ├── registry.c
│ │ ├── tests
│ │ │ ├── messagebox.php
│ │ │ ├── registry.php
│ │ │ └── shellexec.php
│ │ └── windows.scm
│ ├── pcre
│ │ ├── Makefile
│ │ ├── README
│ │ ├── c-bindings.defs
│ │ ├── c-bindings.scm
│ │ ├── make-lib.scm
│ │ ├── php-pcre.c
│ │ ├── php-pcre.h
│ │ ├── php-pcre.sch
│ │ ├── scm-pcre.scm
│ │ └── tests
│ │ │ ├── callback-bug.php
│ │ │ ├── pcre-1.php
│ │ │ ├── pcre-2.php
│ │ │ ├── pcre-3.php
│ │ │ ├── pcre-4.php
│ │ │ ├── pcre-5.php
│ │ │ ├── pcre-6.php
│ │ │ └── pcre-7.php
│ ├── phpoo-extension.sch
│ ├── skeleton
│ │ ├── Makefile
│ │ ├── c-bindings.scm
│ │ ├── make-lib.scm
│ │ ├── php-skeleton.scm
│ │ ├── skeleton.sch
│ │ └── tests
│ │ │ └── skeleton.php
│ ├── sockets
│ │ ├── Makefile
│ │ ├── c-bindings.scm
│ │ ├── make-lib.scm
│ │ ├── php-sockets.sch
│ │ ├── php-sockets.scm
│ │ └── tests
│ │ │ ├── create-close.php
│ │ │ └── http-get.php
│ ├── sqlite
│ │ ├── Makefile
│ │ ├── encode.c
│ │ ├── encode.h
│ │ ├── make-lib.scm
│ │ ├── php-sqlite.sch
│ │ ├── php-sqlite.scm
│ │ ├── sqlite-utils.c
│ │ ├── sqlite-utils.h
│ │ ├── sqlite3-bindings.scm
│ │ └── tests
│ │ │ ├── callbacks.php
│ │ │ ├── exec.php
│ │ │ ├── misc.php
│ │ │ ├── oo-api.php
│ │ │ ├── openclose.php
│ │ │ ├── query.php
│ │ │ ├── s_common.inc
│ │ │ ├── unbuf-query.php
│ │ │ ├── zcallbacks.php
│ │ │ └── ztests.php
│ ├── standard
│ │ ├── Makefile
│ │ ├── README
│ │ ├── c-files.c
│ │ ├── crc.c
│ │ ├── crc.h
│ │ ├── data
│ │ │ ├── bottom.gif
│ │ │ ├── bottom.jpg
│ │ │ └── bottom.png
│ │ ├── make-lib.scm
│ │ ├── mt_rand.c
│ │ ├── mt_rand.h
│ │ ├── network.c
│ │ ├── network.h
│ │ ├── pack.scm
│ │ ├── parsedate.scm
│ │ ├── php-array.scm
│ │ ├── php-core.scm
│ │ ├── php-eregexp.scm
│ │ ├── php-files.scm
│ │ ├── php-image.scm
│ │ ├── php-math.scm
│ │ ├── php-network.scm
│ │ ├── php-output-control.scm
│ │ ├── php-posix.scm
│ │ ├── php-proc.scm
│ │ ├── php-session.scm
│ │ ├── php-sha1.scm
│ │ ├── php-std.sch
│ │ ├── php-streams.sch
│ │ ├── php-streams.scm
│ │ ├── php-strings.scm
│ │ ├── php-system.c
│ │ ├── php-system.h
│ │ ├── php-time.scm
│ │ ├── php-var-cache.scm
│ │ ├── php-variable.scm
│ │ ├── posix-c-bindings.scm
│ │ ├── posix-headers.h
│ │ ├── re-extensions.scm
│ │ ├── sha1.c
│ │ ├── sha1.h
│ │ ├── soundex.scm
│ │ ├── streams-c-bindings.h
│ │ ├── streams-c-bindings.scm
│ │ ├── streams.c
│ │ ├── streams.h
│ │ ├── strnatcmp.c
│ │ ├── strnatcmp.h
│ │ ├── tests
│ │ │ ├── array.php
│ │ │ ├── array2.php
│ │ │ ├── array_merge.php
│ │ │ ├── array_sorting.php
│ │ │ ├── array_splice.php
│ │ │ ├── array_unique.php
│ │ │ ├── backtrace.php
│ │ │ ├── blocking.php
│ │ │ ├── chmod.php
│ │ │ ├── chunk_split.php
│ │ │ ├── core.php
│ │ │ ├── crc32.php
│ │ │ ├── crypt-md5.php
│ │ │ ├── dirs.php
│ │ │ ├── ereg-replace.php
│ │ │ ├── ereg.php
│ │ │ ├── eregexp.php
│ │ │ ├── eregexpi.php
│ │ │ ├── error-handler.php
│ │ │ ├── exitcode.php
│ │ │ ├── explode-implode.php
│ │ │ ├── explode.php
│ │ │ ├── extract.php
│ │ │ ├── exts.php
│ │ │ ├── files.php
│ │ │ ├── files2.php
│ │ │ ├── fsockopen.php
│ │ │ ├── glob.php
│ │ │ ├── html.php
│ │ │ ├── images.php
│ │ │ ├── ip.php
│ │ │ ├── is_readable.php
│ │ │ ├── isset.php
│ │ │ ├── math.php
│ │ │ ├── minmax.php
│ │ │ ├── network.php
│ │ │ ├── nl2br.php
│ │ │ ├── number_format.php
│ │ │ ├── ord.php
│ │ │ ├── output-control.php
│ │ │ ├── pack.php
│ │ │ ├── parseini.php
│ │ │ ├── posix.php
│ │ │ ├── printf.php
│ │ │ ├── procs.php
│ │ │ ├── prog-exec.php
│ │ │ ├── roadsend-socket.php
│ │ │ ├── serialize-refs.php
│ │ │ ├── serialize.php
│ │ │ ├── session1.php
│ │ │ ├── session2.php
│ │ │ ├── session3.php
│ │ │ ├── setlocale.php
│ │ │ ├── shell_exec.php
│ │ │ ├── similar-text.php
│ │ │ ├── soundex.php
│ │ │ ├── split.php
│ │ │ ├── str_pad.php
│ │ │ ├── str_replace.php
│ │ │ ├── streams.php
│ │ │ ├── strings.php
│ │ │ ├── strip_tags.php
│ │ │ ├── strpos.php
│ │ │ ├── strstr.php
│ │ │ ├── strtok.php
│ │ │ ├── strtotime.php
│ │ │ ├── strtr.php
│ │ │ ├── substr.php
│ │ │ ├── time.php
│ │ │ ├── trims.php
│ │ │ ├── unserialize-error.php
│ │ │ ├── urls.php
│ │ │ ├── utf.php
│ │ │ ├── var_export.php
│ │ │ ├── variables.php
│ │ │ ├── version_compare.php
│ │ │ ├── zadd-and-stripcslashes.php
│ │ │ └── zadd-and-stripslashes.php
│ │ ├── time-c-bindings.scm
│ │ ├── url.scm
│ │ ├── windows-flock.c
│ │ ├── windows-flock.h
│ │ ├── windows-streams.h
│ │ ├── windows-time.c
│ │ └── windows-time.h
│ └── xml
│ │ ├── Makefile
│ │ ├── README
│ │ ├── c-bindings.defs
│ │ ├── c-bindings.scm
│ │ ├── make-lib.scm
│ │ ├── php-xml.init
│ │ ├── php-xml.sch
│ │ ├── scm-xml.c
│ │ ├── scm-xml.h
│ │ ├── tests
│ │ ├── data.xml
│ │ ├── data2.xml
│ │ ├── moldb.xml
│ │ ├── xml-1.php
│ │ ├── xml-2.php
│ │ ├── xml-3.php
│ │ ├── xml-4.php
│ │ └── xml-5.php
│ │ ├── xml-additional-c-bindings.scm
│ │ ├── xml.sch
│ │ └── xml.scm
├── extended-streams.scm
├── finalizers.scm
├── grasstable.scm
├── make-lib.scm
├── opaque-math-binding.scm
├── opaque-math.c
├── opaque-math.h
├── opaque-piddle.h
├── output-buffering.scm
├── pcc_snprintf.c
├── pcc_snprintf.h
├── php-errors.scm
├── php-ext
│ ├── Makefile
│ ├── pdo
│ │ ├── Makefile.in
│ │ ├── pdo_class.php.in
│ │ ├── pdo_init.php
│ │ ├── pdo_mysql.php
│ │ ├── pdo_sqlite.php
│ │ └── tests
│ │ │ └── basic.php
│ └── php-extensions.mk.in
├── php-functions.scm
├── php-hash-helper.c
├── php-hash.scm
├── php-ini.scm
├── php-object.scm
├── php-operators.scm
├── php-runtime.sch
├── php-runtime.scm
├── php-types.scm
├── resources.scm
├── signatures.scm
├── url-rewriter.scm
├── utils.scm
└── web-var-cache.scm
├── sa-tests
├── Makefile
├── doc
│ └── test_file.txt
├── pcc-test.conf.in
├── run-tests.php
└── tests
│ ├── compile01.phpt
│ ├── compile02.phpt
│ ├── compile03.phpt
│ ├── extensions01.phpt
│ ├── extensions02.phpt
│ ├── extensions03.phpt
│ ├── extensions05.phpt
│ ├── fcgi01.phpt
│ ├── fcgi02.phpt
│ ├── interpret01.phpt
│ ├── library01.phpt
│ ├── library01v.phpt
│ ├── library02.phpt
│ ├── library02v.phpt
│ ├── micro01.phpt
│ ├── micro02.phpt
│ └── template
├── tests
├── 023-2.inc
├── ackermann.out
├── ackermann.php
├── ary3.out
├── ary3.php
├── autoload-member.php
├── autoload-static.php
├── bitwise.php
├── callback.php
├── class-case.php
├── class-constants.php
├── class-functions.php
├── class-parent.php
├── class-props.php
├── class-static-members.php
├── closingtag.php
├── constants.php
├── constructor.php
├── declare-order.php
├── destructors.php
├── dollardollar.php
├── dotest.sh
├── eachlist.php
├── equality.php
├── escapingtest.php
├── exceptions.php
├── expr-in-stringcurlies.php
├── ext-prop-order.php
├── extends.php
├── fibo.out
├── fibo.php
├── float-output.php
├── foreach.php
├── forlooptest.php
├── function-by-name.php
├── funorder.php
├── globals.php
├── hash.php
├── hash1.php
├── hello.out
├── hello.php
├── implicit_copy.php
├── includetest-once.inc
├── includetest.inc
├── instanceof.php
├── logical.php
├── magic-constants.php
├── min-max-nums.php
├── ndim.php
├── numbers.php
├── obj-arrayaccess.php
├── obj-clone.php
├── obj-iteration.php
├── object-assignment.php
├── object.php
├── opendir.php
├── overloading.php
├── phpbug.php
├── phptest.php
├── prepostcrement.php
├── printtag.php
├── ref.php
├── ref1.php
├── ref2.php
├── ref3.php
├── refarg-in-env.php
├── refhash.php
├── remarkably_broken.php
├── resources.php
├── retval-methodcall.php
├── shared-environment.inc
├── shared-environment.php
├── shutdown_function.php
├── simple-assignment.php
├── simple-string.php
├── singleton.php
├── smErrors.inc
├── smObject.inc
├── smObject.php
├── sort.php
├── static-methods.php
├── string-ref.php
├── stringcurlies.php
├── stringtest.php
├── superglobal_bindings.php
├── tags.php
├── typecasts.php
├── unset.php
├── varargs.php
├── variable-arity.php
├── varvararg.php
├── versions.php
├── zclasses-test.php
├── zclasses.inc
├── zcomplex_switch.php
├── zcreate_function.php
├── zdirname.php
├── zdo_while.php
├── zerrors.php
├── zerrors2.php
├── zeval.php
├── zeval1.php
├── zfun_inside_eval.php
├── zfunction_call_with_global_and_static_vars.php
├── zfunction_falling.php
├── zheyheyhey.php
├── zinclude.php
├── zlooped_regression.php
├── zmean_recursion.php
├── znested_functions.php
├── znested_if_elseif_else.php
├── zrecursive_function.php
├── zregression-1.inc
├── zregression-2.inc
├── zregression.php
├── zsimple_if_condition.php
├── zsimple_if_else.php
├── zsimple_if_elsif_else.php
├── zsimple_switch.php
├── zsimple_while_loop.php
├── zstack_after_return.php
├── zstring_scanner.php
├── zswitch2.php
├── zswitch3.php
└── zthis.php
├── tidbits
├── copy-strings.scm
├── function-example
│ ├── fun.c
│ ├── fun.h
│ └── main.scm
└── libinclude-test
│ ├── smexample
│ ├── BUILD
│ ├── admin
│ │ └── common.inc
│ ├── home
│ │ └── index.php
│ └── redist
│ │ └── pear
│ │ └── apear.php
│ └── useit
│ ├── BUILD
│ ├── useit
│ └── useit.php
├── tools
├── Makefile
├── c-interface
│ ├── Makefile
│ ├── c-glue.c
│ ├── c-interface.scm
│ ├── c-test.c
│ └── re_runtime.h
├── libwebserver
│ ├── Authors
│ ├── COPYRIGHT
│ ├── ChangeLog
│ ├── Makefile.in
│ ├── Todo
│ ├── Win32
│ │ ├── dirent.c
│ │ ├── dirent.h
│ │ ├── flock.c
│ │ ├── flock.h
│ │ ├── help
│ │ │ ├── help.cfg
│ │ │ ├── help.dsp
│ │ │ ├── help.ico
│ │ │ ├── help.rc
│ │ │ ├── mime.types
│ │ │ └── resource.h
│ │ ├── libwebserver.dsp
│ │ └── libwebserver.dsw
│ ├── bugs
│ ├── config.guess
│ ├── config.sub
│ ├── configure
│ ├── configure.in
│ ├── examples
│ │ ├── Makefile
│ │ ├── Makefile.in
│ │ ├── SoundRecorder
│ │ │ ├── Makefile
│ │ │ ├── include
│ │ │ │ ├── debug.h
│ │ │ │ ├── soundbuffers.h
│ │ │ │ ├── soundcard.h
│ │ │ │ └── soundmixer.h
│ │ │ └── src
│ │ │ │ ├── Makefile
│ │ │ │ ├── main.c
│ │ │ │ ├── soundbuffers.c
│ │ │ │ ├── soundcard.c
│ │ │ │ └── soundmixer.c
│ │ ├── cgi-bin
│ │ │ ├── index.cgi
│ │ │ ├── simple.cgi
│ │ │ └── simple1.cgi
│ │ ├── cgi.c
│ │ ├── demo.c
│ │ ├── foo-cert.pem
│ │ └── packetmounter.c
│ ├── help.html
│ │ ├── examples.html
│ │ ├── functions.html
│ │ ├── info.html
│ │ └── security.html
│ ├── help
│ │ ├── Makefile
│ │ ├── Makefile.in
│ │ ├── engine.h
│ │ ├── examples.h
│ │ ├── functions.h
│ │ ├── help.c
│ │ ├── help.cfg
│ │ ├── info.h
│ │ ├── makeheader.bat
│ │ ├── mime.types
│ │ └── security.h
│ ├── include
│ │ ├── client.h
│ │ ├── clientinfo.h
│ │ ├── config.h.in
│ │ ├── debug.h
│ │ ├── error.h
│ │ ├── fnmatch.h
│ │ ├── gethandler.h
│ │ ├── logo.h
│ │ ├── memory.h
│ │ ├── module.h
│ │ ├── outgif.h
│ │ ├── outstream.h
│ │ ├── server.h
│ │ ├── socket.h
│ │ ├── utils.h
│ │ ├── web_server.h
│ │ └── weblog.h
│ ├── install-sh
│ ├── libwebserver-config.in
│ ├── license
│ ├── project
│ ├── regards
│ ├── src
│ │ ├── Makefile.in
│ │ ├── client.c
│ │ ├── clientinfo.c
│ │ ├── dirent.c
│ │ ├── error.c
│ │ ├── flock.c
│ │ ├── fnmatch.c
│ │ ├── gethandler.c
│ │ ├── memory.c
│ │ ├── module.c
│ │ ├── outgif.c
│ │ ├── outstream.c
│ │ ├── server.c
│ │ ├── socket.c
│ │ ├── utils.c
│ │ └── weblog.c
│ └── tools
│ │ ├── checkpid
│ │ ├── data2header.c
│ │ ├── data2header.exe
│ │ ├── httptest.pl
│ │ ├── myvc_install.bat
│ │ └── win2unix.sh
├── profiler
│ ├── Makefile
│ ├── README
│ ├── bigloorc
│ ├── build.sh
│ ├── make-lib.scm
│ ├── profiler-c-bindings.scm
│ ├── profiler.init
│ ├── profiler.scm
│ ├── windows-time.c
│ └── windows-time.h
├── readline
│ ├── Makefile
│ ├── history.scm
│ ├── make-lib.scm
│ └── readline.scm
└── shortpath
│ ├── Makefile
│ └── shortpath.c
├── webconnect
├── Makefile.in
├── apache1
│ ├── Makefile
│ ├── apache.scm
│ ├── apache_cookie.c
│ ├── apache_cookie.h
│ ├── apache_multipart_buffer.c
│ ├── apache_multipart_buffer.h
│ ├── apache_request.c
│ ├── apache_request.h
│ ├── mod_pcc.c
│ └── windows-apache.h
├── apache2
│ ├── Makefile
│ ├── apache2.scm
│ ├── apache_cookie.c
│ ├── apache_cookie.h
│ ├── apache_multipart_buffer.c
│ ├── apache_multipart_buffer.h
│ ├── apache_request.c
│ ├── apache_request.h
│ ├── mod_pcc2.c
│ ├── win32
│ │ ├── apr.h
│ │ ├── howto.txt
│ │ ├── http_log.h
│ │ ├── libapr-c.def
│ │ ├── libapr-s.def
│ │ ├── libhttpd-c.def
│ │ ├── libhttpd-s.def
│ │ └── os.h
│ └── windows-apache2.h
├── cgi.scm
├── cgi
│ ├── Makefile
│ ├── cgi.scm
│ └── make-lib.scm
├── fastcgi
│ ├── Makefile
│ ├── README
│ ├── c-fcgi-bindings.scm
│ ├── c-fcgi.c
│ ├── c-fcgi.h
│ ├── fastcgi-main.scm
│ ├── fastcgi.scm
│ ├── fcgi-binding.scm
│ └── make-lib.scm
├── make-lib.scm
├── micro
│ ├── Makefile
│ ├── libws-c-bindings.defs
│ ├── libws-c-bindings.scm
│ ├── make-mhttpd-lib.scm
│ └── microhttpd.scm
├── tests
│ ├── auth
│ │ ├── .htaccess
│ │ └── auth.php
│ ├── deployment.php
│ ├── httpupload
│ │ ├── receive.php
│ │ └── upload.php
│ └── info.php
└── webconnect.scm
└── zend-tests
├── Makefile
├── README
├── pcc-test.conf
├── run-tests.php
└── tests
├── basic
├── 001.phpt
├── 006.phpt
├── 007.phpt
├── 008.phpt
├── 009.phpt
├── 010.phpt
└── bug20539.phpt
├── bin-info.inc
├── classes
├── __call_001.phpt
├── __set__get_001.phpt
├── __set_data_corrupt.phpt
├── abstract.phpt
├── abstract_class.phpt
├── abstract_derived.phpt
├── abstract_final.phpt
├── abstract_inherit.phpt
├── abstract_not_declared.phpt
├── abstract_redeclare.phpt
├── abstract_static.phpt
├── array_access_001.phpt
├── array_access_002.phpt
├── array_access_003.phpt
├── array_access_004.phpt
├── array_access_006.phpt
├── assign_op_property_001.phpt
├── bug23951.phpt
├── bug24399.phpt
├── bug24445.phpt
├── bug26737.phpt
├── bug27468.phpt
├── bug27504.phpt
├── bug29446.phpt
├── class_example.phpt
├── constants_scope_001.phpt
├── ctor_dtor.phpt
├── ctor_dtor_inheritance.phpt
├── ctor_name_clash.phpt
├── dereferencing_001.phpt
├── factory_001.phpt
├── final.phpt
├── final_abstract.phpt
├── final_redeclare.phpt
├── incdec_property_001.phpt
├── incdec_property_002.phpt
├── incdec_property_003.phpt
├── incdec_property_004.phpt
├── inheritance.phpt
├── interface_class.phpt
├── interface_doubled.phpt
├── interface_implemented.phpt
├── interface_instantiate.phpt
├── interface_member.phpt
├── interface_method.phpt
├── interface_method_final.phpt
├── interface_method_private.phpt
├── interface_must_be_implemented.phpt
├── interfaces_001.phpt
├── interfaces_002.phpt
├── iterators_006.phpt
├── object_reference_001.phpt
├── private_001.phpt
├── private_002.phpt
├── private_003.phpt
├── private_003b.phpt
├── private_004.phpt
├── private_004b.phpt
├── private_005.phpt
├── private_005b.phpt
├── private_006.phpt
├── private_006b.phpt
├── private_007.phpt
├── private_007b.phpt
├── protected_001.phpt
├── protected_001b.phpt
├── protected_002.phpt
├── singleton_001.phpt
├── static_mix_1.phpt
├── static_mix_2.phpt
├── type_hinting_001.phpt
├── visibility_000a.phpt
├── visibility_000b.phpt
├── visibility_000c.phpt
├── visibility_001a.phpt
├── visibility_001b.phpt
├── visibility_001c.phpt
├── visibility_002a.phpt
├── visibility_002b.phpt
├── visibility_002c.phpt
├── visibility_003a.phpt
├── visibility_003b.phpt
├── visibility_003c.phpt
├── visibility_004a.phpt
├── visibility_004b.phpt
└── visibility_004c.phpt
├── func
├── 001.phpt
├── 002.phpt
├── 003.phpt
├── 004.phpt
└── 006.phpt
├── lang
├── 001.phpt
├── 002.phpt
├── 003.phpt
├── 004.phpt
├── 005.phpt
├── 006.phpt
├── 007.phpt
├── 008.phpt
├── 009.phpt
├── 010.phpt
├── 011.phpt
├── 012.phpt
├── 013.phpt
├── 014.phpt
├── 015.inc
├── 015.phpt
├── 016.inc
├── 016.phpt
├── 017.phpt
├── 018.phpt
├── 019.phpt
├── 020.phpt
├── 021.phpt
├── 022.phpt
├── 023-1.inc
├── 023-2.inc
├── 023.phpt
├── 024.phpt
├── 025.phpt
├── 026.phpt
├── 027.phpt
├── 028.phpt
├── 030.phpt
├── 031.phpt
├── 032.phpt
├── 033.phpt
├── 034.phpt
├── 035.phpt
├── bison1.phpt
├── bug17115.phpt
├── bug18872.phpt
├── bug19566.phpt
├── bug19943.phpt
├── bug20175.phpt
├── bug21094.phpt
├── bug21600.phpt
├── bug21669.phpt
├── bug21820.phpt
├── bug21849.phpt
├── bug21961.phpt
├── bug22231.phpt
├── bug22510.phpt
├── bug22592.phpt
├── bug22690.phpt
├── bug23279.phpt
├── bug23384.phpt
├── bug23489.phpt
├── bug23584.phpt
├── bug23624.phpt
├── bug23922.phpt
├── bug24054.phpt
├── bug24396.phpt
├── bug24403.phpt
├── bug24436.phpt
├── bug24573.phpt
├── bug24658.phpt
├── bug24783.phpt
├── bug24926.phpt
├── bug24951.phpt
├── bug26182.phpt
├── bug26696.phpt
├── bug26866.phpt
├── bug26869.phpt
├── bug27354.phpt
├── bug27443.phpt
├── bug27535.phpt
├── bug28213.phpt
├── bug28800.phpt
├── bug30578.phpt
├── bug30638.phpt
├── bug30726.phpt
├── bug30862.phpt
├── bug32828.phpt
├── bug32924.phpt
├── bug38579.inc
├── bug7515.phpt
├── catchable_error_001.phpt
├── catchable_error_002.phpt
├── each_binary_safety.phpt
├── error_2_exception_001.phpt
├── foreach_with_references_001.phpt
├── inc.inc
├── type_hints_001.phpt
├── type_hints_002.phpt
└── type_hints_003.phpt
├── quicktester.inc
└── strings
├── 001.phpt
├── 002.phpt
├── 004.phpt
└── bug26703.phpt
/README:
--------------------------------------------------------------------------------
1 |
2 | This is the original Roadsend PHP code base. It compiles PHP to native
3 | binaries.
4 |
5 | You can find the C++ rewrite (unfinished) at
6 | http://github.com/weyrick/roadsend-php-raven
7 |
8 |
--------------------------------------------------------------------------------
/benchmarks/data/spellcheck:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/weyrick/roadsend-php/d6301a897b1a02d7a85bdb915bea91d0991eb158/benchmarks/data/spellcheck
--------------------------------------------------------------------------------
/benchmarks/regression/file.php:
--------------------------------------------------------------------------------
1 |
10 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/benchmarks/tests/ackermann.php:
--------------------------------------------------------------------------------
1 |
16 |
--------------------------------------------------------------------------------
/benchmarks/tests/array.php:
--------------------------------------------------------------------------------
1 |
2 |
3 | $NUMRECS = 100000;
4 |
5 | $arr = array();
6 |
7 | for ($i=0; $i < $NUMRECS; $i++) {
8 | $arr["a name $i"] = array($i,$i);
9 | }
10 |
11 | mt_srand(10);
12 |
13 | for ($i=0, $max = $NUMRECS/2; $i < $max; $i++) {
14 | $n = 'a name '.mt_rand(0,$NUMRECS-1);
15 | $arr2 = $arr[$n];
16 | if (!$arr2) {
17 | print "Error searching for $n n";
18 | }
19 | }
20 |
21 | ?>
--------------------------------------------------------------------------------
/benchmarks/tests/ary.php:
--------------------------------------------------------------------------------
1 |
2 | =0; $i--) {
9 | $Y[$i] = $X[$i];
10 | }
11 | $last = $n-1;
12 | print "$Y[$last]\n";
13 | }
14 |
15 | $n = ($argc == 2) ? $argv[1] : 100000;
16 | ary($n);
17 | ?>
18 |
--------------------------------------------------------------------------------
/benchmarks/tests/ary3.php:
--------------------------------------------------------------------------------
1 | =0; $i--) {
16 | $Y[$i] += $X[$i];
17 | }
18 | }
19 | $last = $n-1;
20 | print "$Y[0] $Y[$last]\n";
21 | }
22 |
23 | ?>
24 |
--------------------------------------------------------------------------------
/benchmarks/tests/fibo.php:
--------------------------------------------------------------------------------
1 |
13 |
--------------------------------------------------------------------------------
/benchmarks/tests/gabriel-takl.php:
--------------------------------------------------------------------------------
1 | From "Performance and Evaluation of Lisp Systems" by Richard Gabriel
2 | pg. 114
3 |
4 | "TAKL is very much like TAK, but it does not perform any explicit
5 | arithmetic."
6 |
7 |
8 |
--------------------------------------------------------------------------------
/benchmarks/tests/globals1.php:
--------------------------------------------------------------------------------
1 | an effort to make a more clear globals benchmark
2 |
--------------------------------------------------------------------------------
/benchmarks/tests/hash.php:
--------------------------------------------------------------------------------
1 | 0; $i--) {
17 | if ($X[$i]) { $c++; }
18 | }
19 | print "$c\n";
20 | }
21 | ?>
22 |
--------------------------------------------------------------------------------
/benchmarks/tests/hello.php:
--------------------------------------------------------------------------------
1 |
8 |
--------------------------------------------------------------------------------
/benchmarks/tests/multi-dimensional.php:
--------------------------------------------------------------------------------
1 | This benchmark was contributed by "BDKR"
2 |
20 |
--------------------------------------------------------------------------------
/benchmarks/tests/nestedloop.php:
--------------------------------------------------------------------------------
1 |
18 |
--------------------------------------------------------------------------------
/benchmarks/tests/num-test.php:
--------------------------------------------------------------------------------
1 |
2 |
3 | function foo() {
4 | for ($i = 0; $i < 1000000; $i++) {
5 | $j += $i * 2;
6 | }
7 | print "$j, $i\n";
8 | }
9 |
10 | foo();
11 |
12 |
13 | ?>
--------------------------------------------------------------------------------
/benchmarks/tests/preg_replace.php:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/benchmarks/tests/resource-cleanup.php:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/bugs/Makefile:
--------------------------------------------------------------------------------
1 | TOPLEVEL = ../
2 | MY_TESTDIR = bugs/tests/
3 | MY_TESTOUTDIR = bugs/testoutput/
4 | DOTEST = ./dotest
5 |
6 | check :
7 | -rm -rf $(TOPLEVEL)$(MY_TESTOUTDIR)
8 | -mkdir $(TOPLEVEL)$(MY_TESTOUTDIR)
9 | @(cd $(TOPLEVEL) && $(DOTEST) $(MY_TESTDIR) $(MY_TESTOUTDIR))
10 |
11 |
12 | clean :
13 | -rm -rf testoutput
--------------------------------------------------------------------------------
/bugs/known-failures:
--------------------------------------------------------------------------------
1 |
2 | This information has been moved to the wiki:
3 | http://code.roadsend.com/pcc/wiki/TestSuiteKnownFailures
4 |
5 |
--------------------------------------------------------------------------------
/bugs/tests/1052-2.inc:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/bugs/tests/1052-3.inc:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/bugs/tests/1580.inc:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/bugs/tests/bug-id-0000693.php:
--------------------------------------------------------------------------------
1 | 0000693 foreach and others with no braces cause parse error
2 |
3 | $val)
10 | echo "$key, $val\n";
11 |
12 |
13 | for($i=0; $i<10; $i++)
14 | echo "$i\n";
15 |
16 |
17 | function cnt() {
18 | static $i = 0;
19 |
20 | $i++;
21 | return $i;
22 | }
23 |
24 | while (cnt() < 10)
25 | echo "counted\n";
26 |
27 |
28 |
29 | ?>
--------------------------------------------------------------------------------
/bugs/tests/bug-id-0000694.php:
--------------------------------------------------------------------------------
1 | class property access with $ throws parse error
2 | the following causes a parse error:
3 | (inside class method)
4 |
5 | $this->$var = 5;
6 |
7 | $v) {
19 | print "class prop is $n val is $v\n";
20 | $v = $mah->$n;
21 | var_dump($v);
22 | }
23 |
24 | ?>
25 |
26 |
--------------------------------------------------------------------------------
/bugs/tests/bug-id-0000696.php:
--------------------------------------------------------------------------------
1 |
6 |
--------------------------------------------------------------------------------
/bugs/tests/bug-id-0000697.php:
--------------------------------------------------------------------------------
1 | Bug# 0000697
2 |
3 | default function parameters should accept undefined tokens for default values
4 | bad practice, but php allows this:
5 |
6 |
7 | function myfun($arg=undef, $arg2=undef) {
8 | ...
9 | }
10 |
11 | where undef isn't defined at all anywhere else. perhaps it turns it into a string?
12 | Additional Information
13 |
14 |
--------------------------------------------------------------------------------
/bugs/tests/bug-id-0000701.php:
--------------------------------------------------------------------------------
1 | instantiating a class with a variable class name
2 |
3 |
4 | zot . "\n";
15 |
16 |
17 | ?>
--------------------------------------------------------------------------------
/bugs/tests/bug-id-0000702.php:
--------------------------------------------------------------------------------
1 | a parse error is thrown when a # comment is immediately followed by a carriage return.
2 |
3 |
10 |
--------------------------------------------------------------------------------
/bugs/tests/bug-id-0000728.php:
--------------------------------------------------------------------------------
1 | 0000728 concat strings including other defines to build a define
2 | /Ui');
7 |
8 | define('TAB_4',' ');
9 |
10 | // other defines
11 |
12 | define('TAB_8',TAB_4.TAB_4);
13 |
14 | echo SM_TAG_IDENTIFIER . ", " . SM_TAG_PREGEXP . ", " . TAB_4 . ", " . TAB_8 . "\n";
15 |
16 | ?>
17 |
--------------------------------------------------------------------------------
/bugs/tests/bug-id-0000729.php:
--------------------------------------------------------------------------------
1 | 0000729 access to a class property through variable variable:
2 |
3 |
4 | class testc { var $test='5'; }
5 | $c = new testc();
6 | $prop = 'test';
7 | echo $c->{$prop} . "\n";
8 | echo $c->$prop . "\n";
9 | ?>
10 |
11 |
--------------------------------------------------------------------------------
/bugs/tests/bug-id-0000730.php:
--------------------------------------------------------------------------------
1 | 0000730 access to a string index in a class property
2 |
3 |
4 |
5 |
6 | class testc { var $tp = "this is a test"; }
7 |
8 | $c = new testc();
9 |
10 | echo "{$c->tp{3}}\n";
11 |
12 | ?>
13 |
--------------------------------------------------------------------------------
/bugs/tests/bug-id-0000732.php:
--------------------------------------------------------------------------------
1 | 0000732 parse error on complicated constant define()
2 |
3 |
--------------------------------------------------------------------------------
/bugs/tests/bug-id-0000733.php:
--------------------------------------------------------------------------------
1 | 0000733 parse error on class property named $parent
2 |
3 | parent . "\n";
10 | }
11 | }
12 |
13 | $zot = new aclass();
14 |
15 | ?>
--------------------------------------------------------------------------------
/bugs/tests/bug-id-0000735.php:
--------------------------------------------------------------------------------
1 | 0000735 need support for returning a value from a function by reference
2 |
3 | zot = 2;
10 | }
11 |
12 | function &test() {
13 | $a =& new someClass();
14 | return $a;
15 | }
16 |
17 | }
18 |
19 |
20 |
21 | $b = someClass::test();
22 |
23 | echo $b->zot;
24 |
25 |
26 | ?>
27 |
28 |
--------------------------------------------------------------------------------
/bugs/tests/bug-id-0000750.php:
--------------------------------------------------------------------------------
1 | 0000750 parse error on bit operations
2 |
3 |
4 |
5 | error_reporting(E_ALL & ~E_NOTICE);
6 |
7 | ?>
8 |
--------------------------------------------------------------------------------
/bugs/tests/bug-id-0000772.php:
--------------------------------------------------------------------------------
1 | '$s'\n";
5 |
6 | ?>
7 |
--------------------------------------------------------------------------------
/bugs/tests/bug-id-0000791.php:
--------------------------------------------------------------------------------
1 | 0000791 switch statement parse error having to do with where the default: is
2 |
3 |
4 |
5 | $i = 5;
6 |
7 | switch ($i) {
8 | default:
9 | case 1:
10 | echo "1\n";
11 | case 2:
12 | echo "2\n";
13 | }
14 |
15 | ?>
16 |
--------------------------------------------------------------------------------
/bugs/tests/bug-id-0000792.php:
--------------------------------------------------------------------------------
1 | 0000792 parse error using class property name 'class'
2 |
3 |
4 |
5 | class t {
6 | var $class = '';
7 | function t () {
8 | $this->class = 'woops';
9 | }
10 | }
11 |
12 |
13 | ?>
14 |
--------------------------------------------------------------------------------
/bugs/tests/bug-id-0000793.php:
--------------------------------------------------------------------------------
1 |
4 |
--------------------------------------------------------------------------------
/bugs/tests/bug-id-0000794.php:
--------------------------------------------------------------------------------
1 |
13 |
14 |
--------------------------------------------------------------------------------
/bugs/tests/bug-id-0000795.php:
--------------------------------------------------------------------------------
1 | 0000795 parse error on default function argument as a negative number
2 |
3 |
13 |
--------------------------------------------------------------------------------
/bugs/tests/bug-id-0000796.php:
--------------------------------------------------------------------------------
1 | 0000796 parser error on empty braces
2 |
9 |
10 | or
11 |
12 |
17 |
18 | which really comes from code like this:
19 |
20 |
21 | for ($r=0, $num = count($read); $r < $num &&
22 | substr($read[$r], 0, 8) != '* SEARCH'; $r++) {}
23 |
24 | ?>
25 |
--------------------------------------------------------------------------------
/bugs/tests/bug-id-0000797.php:
--------------------------------------------------------------------------------
1 |
10 |
11 |
--------------------------------------------------------------------------------
/bugs/tests/bug-id-0000798.php:
--------------------------------------------------------------------------------
1 |
6 |
--------------------------------------------------------------------------------
/bugs/tests/bug-id-0000799.php:
--------------------------------------------------------------------------------
1 |
18 |
--------------------------------------------------------------------------------
/bugs/tests/bug-id-0000800.php:
--------------------------------------------------------------------------------
1 | 0000800 more string interpolation crazyness
2 |
3 | var['test'] = 'fnord';
11 | echo "can you see the [{$this->var['test']}]?\n";
12 | }
13 |
14 | }
15 |
16 | $c = new testClass();
17 |
18 | ?>
19 |
--------------------------------------------------------------------------------
/bugs/tests/bug-id-0000828.php:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/bugs/tests/bug-id-0000882.php:
--------------------------------------------------------------------------------
1 | problem with using @ to disable errors
2 |
12 |
--------------------------------------------------------------------------------
/bugs/tests/bug-id-0000883.php:
--------------------------------------------------------------------------------
1 | windows carriage returns throw error
2 |
9 |
--------------------------------------------------------------------------------
/bugs/tests/bug-id-0000892.php:
--------------------------------------------------------------------------------
1 | right now the default script root directory is /, it needs to be the
2 | directory the script lives in for relative includes to work.
3 |
4 | This script needs to be run through mod_phpoo to matter.
5 |
6 |
--------------------------------------------------------------------------------
/bugs/tests/bug-id-0000894.php:
--------------------------------------------------------------------------------
1 | parse error on class variable named 'default'
2 |
3 | default = 'meep';
9 | }
10 | }
11 |
12 | $c = new myclass();
13 | $c->blah();
14 | echo $c->default;
15 |
16 | ?>
--------------------------------------------------------------------------------
/bugs/tests/bug-id-0000897.php:
--------------------------------------------------------------------------------
1 |
7 |
8 |
--------------------------------------------------------------------------------
/bugs/tests/bug-id-0000906.php:
--------------------------------------------------------------------------------
1 | disallow overriding scheme functions from php
2 |
3 | right now you can define a php function (con or list for example) and it will override the scheme function
4 |
5 |
21 |
22 |
--------------------------------------------------------------------------------
/bugs/tests/bug-id-0000914.php:
--------------------------------------------------------------------------------
1 | aprop =& $zot;
12 |
13 | $zot = 42;
14 |
15 | print "the answer is: " . $bar->aprop . "\n";
16 |
17 |
18 | ?>
--------------------------------------------------------------------------------
/bugs/tests/bug-id-0000916.php:
--------------------------------------------------------------------------------
1 |
9 |
--------------------------------------------------------------------------------
/bugs/tests/bug-id-0000917.php:
--------------------------------------------------------------------------------
1 |
7 |
--------------------------------------------------------------------------------
/bugs/tests/bug-id-0000919.php:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/bugs/tests/bug-id-0000921.php:
--------------------------------------------------------------------------------
1 | string = $str;
8 | echo $this->string;
9 | }
10 |
11 | }
12 |
13 | //Zend php screws up if you pass an unnamed variable by reference
14 | //$n = new hi('blah');
15 | $a = 'blah';
16 | $n = new hi($a);
17 |
18 |
19 | ?>
20 |
--------------------------------------------------------------------------------
/bugs/tests/bug-id-0000922.php:
--------------------------------------------------------------------------------
1 |
16 |
--------------------------------------------------------------------------------
/bugs/tests/bug-id-0000923.php:
--------------------------------------------------------------------------------
1 | key or value is optional in list()
2 |
3 | 'blah','2'=>'meep','3'=>'mope');
6 |
7 | reset($a);
8 | while (list(,$v) = each($a)) {
9 | echo "$v\n";
10 | }
11 |
12 | echo "-- next --\n";
13 |
14 | reset($a);
15 | while (list($v,) = each($a)) {
16 | echo "$v\n";
17 | }
18 |
19 | echo "-- next --\n";
20 |
21 | reset($a);
22 | while (list(,,$v) = each($a)) {
23 | echo "$v\n";
24 | }
25 |
26 | ?>
27 |
--------------------------------------------------------------------------------
/bugs/tests/bug-id-0000927.php:
--------------------------------------------------------------------------------
1 | 0000927 unable to foreach() on $GLOBALS
2 |
3 | $value)
8 | {
9 | $i++;
10 | }
11 |
12 | echo "it worked.\n";
13 |
14 | ?>
15 |
--------------------------------------------------------------------------------
/bugs/tests/bug-id-0000939.php:
--------------------------------------------------------------------------------
1 | unset() needs to take variable number of arguments
2 |
3 |
--------------------------------------------------------------------------------
/bugs/tests/bug-id-0000940.php:
--------------------------------------------------------------------------------
1 | erroneous conversion of string to array
2 |
--------------------------------------------------------------------------------
/bugs/tests/bug-id-0000952.php:
--------------------------------------------------------------------------------
1 | 0000952 here tis. whoever wrote this should be shot. oh wait..
2 |
7 |
--------------------------------------------------------------------------------
/bugs/tests/bug-id-0000953.php:
--------------------------------------------------------------------------------
1 | 0000953 parse error on question mark in comments
2 |
8 |
--------------------------------------------------------------------------------
/bugs/tests/bug-id-0000962.php:
--------------------------------------------------------------------------------
1 | 0000962 user defined functions with default values of false can fail
2 | apparently for the same reason we can't have a default of #f for defbuiltins, user defined functions can't either:
3 |
13 |
--------------------------------------------------------------------------------
/bugs/tests/bug-id-0000983.php:
--------------------------------------------------------------------------------
1 | 0000983 parse error, single quotes in double quotes on class var default
2 |
3 | avar\n";
9 | }
10 | }
11 |
12 | $a = new aclass();
13 |
14 | ?>
15 |
--------------------------------------------------------------------------------
/bugs/tests/bug-id-0000986.php:
--------------------------------------------------------------------------------
1 | 0000986 parse error globalizing a variable variable from a hash
2 | ".$$a['test']."\n";
10 | }
11 |
12 | blah();
13 |
14 | ?>
15 |
--------------------------------------------------------------------------------
/bugs/tests/bug-id-0000993.php:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/bugs/tests/bug-id-0000999.php:
--------------------------------------------------------------------------------
1 | 0000999 continue in foreach does not advance array, causing infinite loop
2 |
3 |
4 | $a = array(1,2,3,4);
5 |
6 | foreach($a as $b) {
7 | if ($b == 1)
8 | continue;
9 | echo $b;
10 | }
11 |
12 | ?>
13 |
--------------------------------------------------------------------------------
/bugs/tests/bug-id-0001001.php:
--------------------------------------------------------------------------------
1 |
2 |
3 | class aclass {
4 | var $myarray = array();
5 | function aclass() {
6 | $this->myarray[] = 'one';
7 | $this->myarray[] = 'two';
8 | var_dump($this->myarray);
9 | }
10 | }
11 |
12 | $a =& new aclass();
13 | $b =& new aclass();
14 | $c = new aclass();
15 |
16 | ?>
--------------------------------------------------------------------------------
/bugs/tests/bug-id-0001047.php:
--------------------------------------------------------------------------------
1 | 1);
5 | $a[] = array(''=>2);
6 | $a[] = array(''=>3);
7 | $a[] = array(''=>4);
8 | $a[] = array(''=>5);
9 |
10 | var_dump($a);
11 |
12 |
13 | ?>
--------------------------------------------------------------------------------
/bugs/tests/bug-id-0001051.php:
--------------------------------------------------------------------------------
1 | 0001051: parse error on parent:: as rval
2 |
3 |
4 |
5 | class aclass {
6 | function afunc() {
7 | return 'super!!!!!!!!!';
8 | }
9 | }
10 |
11 | class bclass extends aclass {
12 | function afunc() {
13 | //return parent::afunc();
14 | $a = parent::afunc();
15 | return $a;
16 | }
17 | }
18 |
19 | $a = new bclass();
20 | echo $a->afunc();
21 |
22 |
23 | ?>
--------------------------------------------------------------------------------
/bugs/tests/bug-id-0001052.php:
--------------------------------------------------------------------------------
1 | afunc();
12 |
13 | ?>
--------------------------------------------------------------------------------
/bugs/tests/bug-id-0001057.php:
--------------------------------------------------------------------------------
1 | 0001057 allow blank class definitions
2 |
3 |
4 | class aclass {
5 | var $prop = 'hi';
6 | }
7 |
8 | class bclass extends aclass {
9 | }
10 |
11 | $a = new bclass();
12 | var_dump($a);
13 |
14 |
15 | ?>
16 |
--------------------------------------------------------------------------------
/bugs/tests/bug-id-0001076.php:
--------------------------------------------------------------------------------
1 |
2 |
3 | $c = NULL;
4 | foreach ($c as $k => $v) {
5 | echo "shouldn't see this: $k => $v\n";
6 | }
7 |
8 | echo "this should run, however\n";
9 |
10 | ?>
--------------------------------------------------------------------------------
/bugs/tests/bug-id-0001079.php:
--------------------------------------------------------------------------------
1 |
2 |
3 | if (!ereg('(^|[^\])(_|%)', "hi")) {
4 | echo 'good';
5 | }
6 |
7 | ?>
8 |
--------------------------------------------------------------------------------
/bugs/tests/bug-id-0001090.php:
--------------------------------------------------------------------------------
1 | precedence problem with ugly if operator
2 |
3 |
4 |
5 | $m = true;
6 | $t = '';
7 | $g = 'something';
8 | echo 'answer is '.($t != '' && $m ? 'yes' : 'no').' <-- yeah';
9 |
10 |
11 | ?>
12 |
13 | /*
14 | this line:
15 | ($t != '' && $m ? 'yes' : 'no')
16 | is currently parsed like this:
17 | (($t != '') && ($m ? 'yes' : 'no'))
18 | needs to be like this:
19 | ((($t != '') && $m) ? 'yes' : 'no')
20 | */
--------------------------------------------------------------------------------
/bugs/tests/bug-id-0001092.php:
--------------------------------------------------------------------------------
1 | 0001092 able to override builtin function 'error'
2 |
3 | Note: This test only produces a warning, and then only when compiled.
4 |
5 |
6 | function error($msg) {
7 | echo "error, your keyboard is one firE!!!!!!!\n";
8 | }
9 |
10 | error('meep');
11 |
12 | ?>
13 |
--------------------------------------------------------------------------------
/bugs/tests/bug-id-0001102.php:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/bugs/tests/bug-id-0001109.php:
--------------------------------------------------------------------------------
1 | 'v');
12 | array_walk($arr,'test');
13 |
14 | print "First value: ".$globalArray[0];
15 |
16 | print "\nDone\n";
17 |
18 | ?>
--------------------------------------------------------------------------------
/bugs/tests/bug-id-0001112.php:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/bugs/tests/bug-id-0001113.php:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/bugs/tests/bug-id-0001115.php:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/bugs/tests/bug-id-0001120.php:
--------------------------------------------------------------------------------
1 |
19 |
--------------------------------------------------------------------------------
/bugs/tests/bug-id-0001122.php:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/bugs/tests/bug-id-0001126.php:
--------------------------------------------------------------------------------
1 | ".round($v, 2)."\n";
6 | $v += 0.01;
7 | }
8 |
9 | ?>
--------------------------------------------------------------------------------
/bugs/tests/bug-id-0001128.php:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/bugs/tests/bug-id-0001133.php:
--------------------------------------------------------------------------------
1 |
4 |
7 | 8 | 9 | echo "_SERVER:\n"; 10 | var_dump($_SERVER); 11 | echo "\n\n"; 12 | 13 | echo "_GET:\n"; 14 | var_dump($_GET); 15 | echo "\n\n"; 16 | 17 | echo "_POST:\n"; 18 | var_dump($_POST); 19 | echo "\n\n"; 20 | 21 | echo "_COOKIE:\n"; 22 | var_dump($_COOKIE); 23 | echo "\n\n"; 24 | 25 | ?> 26 |27 | -------------------------------------------------------------------------------- /packages/windows/projects/micro-project/micro-project.rc: -------------------------------------------------------------------------------- 1 | 1 ICON "C:\\roadsend\\projects\\php_file.ico" 2 | -------------------------------------------------------------------------------- /packages/windows/projects/micro-project/micro-project.redb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/weyrick/roadsend-php/d6301a897b1a02d7a85bdb915bea91d0991eb158/packages/windows/projects/micro-project/micro-project.redb -------------------------------------------------------------------------------- /packages/windows/projects/micro-project/micro-project.tags: -------------------------------------------------------------------------------- 1 | !_TAG_FILE_FORMAT 2 /extended format; --format=1 will not append ;" to lines/ 2 | !_TAG_FILE_SORTED 1 /0=unsorted, 1=sorted, 2=foldcase/ 3 | !_TAG_PROGRAM_AUTHOR Roadsend /support@roadsend.com/ 4 | !_TAG_PROGRAM_NAME Roadsend Tags // 5 | !_TAG_PROGRAM_URL http://roadsend.com /Roadsend site/ 6 | !_TAG_PROGRAM_VERSION 5.5 // 7 | -------------------------------------------------------------------------------- /packages/windows/projects/php_file.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/weyrick/roadsend-php/d6301a897b1a02d7a85bdb915bea91d0991eb158/packages/windows/projects/php_file.ico -------------------------------------------------------------------------------- /packages/windows/projects/win-project/win-project.redb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/weyrick/roadsend-php/d6301a897b1a02d7a85bdb915bea91d0991eb158/packages/windows/projects/win-project/win-project.redb -------------------------------------------------------------------------------- /packages/windows/projects/win-project/win-project.tags: -------------------------------------------------------------------------------- 1 | !_TAG_FILE_FORMAT 2 /extended format; --format=1 will not append ;" to lines/ 2 | !_TAG_FILE_SORTED 1 /0=unsorted, 1=sorted, 2=foldcase/ 3 | !_TAG_PROGRAM_AUTHOR Roadsend /support@roadsend.com/ 4 | !_TAG_PROGRAM_NAME Roadsend Tags // 5 | !_TAG_PROGRAM_URL http://roadsend.com /Roadsend site/ 6 | !_TAG_PROGRAM_VERSION 5.5 // 7 | -------------------------------------------------------------------------------- /runtime/ext/curl/curl-headers.h: -------------------------------------------------------------------------------- 1 | #ifdef PCC_MINGW 2 | 3 | #include
A
8 | K
15 | It's like comparing apples to oranges.
17 |
18 |
19 |
20 |
25 |
--------------------------------------------------------------------------------
/tests/class-case.php:
--------------------------------------------------------------------------------
1 |
2 |
3 | class TeSt {
4 | public $BaZBiP = 'yes';
5 | function FooBar() {
6 | echo "-> ".$this->bazbip."\n";
7 | echo "-> ".$this->BaZBiP."\n";
8 | }
9 | }
10 |
11 | $a = new test;
12 | var_dump($a);
13 | $a->foobar();
14 | $b = get_class_methods($a);
15 | var_dump($b);
16 |
17 | ?>
--------------------------------------------------------------------------------
/tests/class-constants.php:
--------------------------------------------------------------------------------
1 | showConstant();
15 |
16 | ?>
--------------------------------------------------------------------------------
/tests/class-functions.php:
--------------------------------------------------------------------------------
1 |
2 |
3 | class foo {
4 |
5 | }
6 |
7 | class bar extends foo {
8 |
9 |
10 | }
11 |
12 | // is_subsclass: first param can be string
13 | echo "subclass? ".is_subclass_of('bar','foo'),"\n";
14 |
15 | ?>
--------------------------------------------------------------------------------
/tests/closingtag.php:
--------------------------------------------------------------------------------
1 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/tests/declare-order.php:
--------------------------------------------------------------------------------
1 |
2 |
3 | $a = new foo();
4 | echo "this is the very top\n";
5 |
6 | hey();
7 |
8 | class foo {
9 | const a = 'hello';
10 | }
11 |
12 | function hey($a = foo::a) {
13 | echo "$a\n";
14 | }
15 |
16 |
17 | ?>
--------------------------------------------------------------------------------
/tests/dollardollar.php:
--------------------------------------------------------------------------------
1 |
23 |
--------------------------------------------------------------------------------
/tests/escapingtest.php:
--------------------------------------------------------------------------------
1 |
5 | This is true.
6 |
9 | This is \false.
10 |
17 | This is 'true'.
18 |
21 | This is false.
22 |
25 |
--------------------------------------------------------------------------------
/tests/fibo.out:
--------------------------------------------------------------------------------
1 | 34
2 |
--------------------------------------------------------------------------------
/tests/fibo.php:
--------------------------------------------------------------------------------
1 |
12 |
--------------------------------------------------------------------------------
/tests/forlooptest.php:
--------------------------------------------------------------------------------
1 | 10) {
12 | break;
13 | }
14 | print $i;
15 | }
16 |
17 | /* example 3 */
18 |
19 | 12;
20 |
21 | $i = 1;
22 | for (;;) {
23 | if ($i > 10) {
24 | break;
25 | }
26 | print $i;
27 | $i++;
28 | }
29 |
30 |
31 | /* example 4 */
32 |
33 | for ($i = 1; $i <= 10; print $i, $i++);
34 |
35 | ?>
--------------------------------------------------------------------------------
/tests/funorder.php:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/tests/hash1.php:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/tests/hello.out:
--------------------------------------------------------------------------------
1 | hello world
2 |
--------------------------------------------------------------------------------
/tests/hello.php:
--------------------------------------------------------------------------------
1 |
4 |
--------------------------------------------------------------------------------
/tests/includetest-once.inc:
--------------------------------------------------------------------------------
1 |
9 |
--------------------------------------------------------------------------------
/tests/includetest.inc:
--------------------------------------------------------------------------------
1 |
4 |
--------------------------------------------------------------------------------
/tests/logical.php:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/tests/min-max-nums.php:
--------------------------------------------------------------------------------
1 |
2 |
3 | $a = PHP_INT_MAX;
4 | echo "a is [$a] :: as int [".(int)$a."] as float [".(float)$a."]\n";
5 | echo "$a + 1 = ".($a+1)."\n";
6 | echo "$a++ = ".++$a."\n";
7 | define(PHP_INT_MIN, (- PHP_INT_MAX - 1));
8 | $a = PHP_INT_MIN;
9 | echo "a is [$a] :: as int [".(int)$a."] as float [".(float)$a."]\n";
10 | echo "$a - 1 = ".($a-1)."\n";
11 | echo "$a-- = ".--$a."\n";
12 |
13 | ?>
--------------------------------------------------------------------------------
/tests/opendir.php:
--------------------------------------------------------------------------------
1 |
11 |
--------------------------------------------------------------------------------
/tests/phpbug.php:
--------------------------------------------------------------------------------
1 |
14 |
15 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/tests/printtag.php:
--------------------------------------------------------------------------------
1 | = $foo, $bar ?>
2 |
--------------------------------------------------------------------------------
/tests/ref.php:
--------------------------------------------------------------------------------
1 |
19 |
--------------------------------------------------------------------------------
/tests/ref1.php:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/tests/ref2.php:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/tests/ref3.php:
--------------------------------------------------------------------------------
1 |
2 |
3 | class foo {
4 | }
5 |
6 | $a[] = new foo();
7 | $a[] =& new foo();
8 |
9 | $b = new foo();
10 | $c =& new foo();
11 | $d = new foo();
12 | $d->a = $b;
13 | $d->b = $c;
14 | $d->a1 =& $b;
15 | $d->a2 =& $c;
16 | $d->a3[] = $a;
17 | $d->a4[] = $b;
18 | $d->a5[] = $c;
19 | $d->a6[] =& $a;
20 | $d->a7[] =& $b;
21 | $d->a8[] =& $c;
22 |
23 |
24 | var_dump($a);
25 | var_dump($b);
26 | var_dump($c);
27 | var_dump($d);
28 |
29 | ?>
--------------------------------------------------------------------------------
/tests/refhash.php:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/tests/remarkably_broken.php:
--------------------------------------------------------------------------------
1 |
31 |
--------------------------------------------------------------------------------
/tests/resources.php:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/tests/shared-environment.inc:
--------------------------------------------------------------------------------
1 | $root = "/home/pornmonger/"; ?>
2 |
--------------------------------------------------------------------------------
/tests/shared-environment.php:
--------------------------------------------------------------------------------
1 |
2 | function foo() {
3 | include("shared-environment.inc");
4 | print("my root dir is $root\n");
5 | }
6 | foo();
7 | ?>
8 |
--------------------------------------------------------------------------------
/tests/shutdown_function.php:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/tests/simple-assignment.php:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/tests/simple-string.php:
--------------------------------------------------------------------------------
1 |
13 |
--------------------------------------------------------------------------------
/tests/smObject.php:
--------------------------------------------------------------------------------
1 | debugLog("foo");
9 |
10 | SM_fatalErrorPage("oops");
11 |
12 | ?>
--------------------------------------------------------------------------------
/tests/sort.php:
--------------------------------------------------------------------------------
1 |
12 |
13 |
--------------------------------------------------------------------------------
/tests/string-ref.php:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/tests/stringtest.php:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/tests/superglobal_bindings.php:
--------------------------------------------------------------------------------
1 |
2 |
3 | $foo = 5;
4 |
5 | function yay() {
6 |
7 | echo $GLOBALS['foo'];
8 | $GLOBALS['foo'] = 6;
9 | echo $GLOBALS['foo'];
10 |
11 | $a =& $GLOBALS;
12 | $a['foo'] = 7;
13 |
14 | $b = 5;
15 | $GLOBALS['bar'] =& $b;
16 |
17 | }
18 |
19 | yay();
20 | echo $foo;
21 | echo $bar;
22 |
23 | ?>
24 |
25 |
--------------------------------------------------------------------------------
/tests/tags.php:
--------------------------------------------------------------------------------
1 | echo ("this is the simplest, an SGML processing instruction\n"); ?>
2 | = expression ?> This is a shortcut for " echo expression ?>"
3 |
4 |
5 |
6 |
9 |
10 | <% echo ("You may optionally use ASP-style tags"); %>
11 |
12 | <%= $variable; # This is a shortcut for "<% echo . . ." %>
13 |
--------------------------------------------------------------------------------
/tests/unset.php:
--------------------------------------------------------------------------------
1 | 'one', 2 => 'two', 3 => 'three' );
4 | unset( $a[2] );
5 | /* will produce an array that would have been defined as
6 | $a = array( 1=>'one', 3=>'three');
7 | and NOT
8 | $a = array( 1 => 'one', 2 => 'three');
9 | */
10 |
11 | print_r($a);
12 |
13 | $a=5;$b=array(1);$c="string";
14 | echo "i1: ".isset($a,$b,$c)."\n";
15 | echo "i2: ".isset($a,$b,$c,$d)."\n";
16 | unset($a,$b,$c);
17 | echo "i3: ".isset($a,$b,$c)."\n";
18 |
19 | ?>
--------------------------------------------------------------------------------
/tests/varargs.php:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/tests/versions.php:
--------------------------------------------------------------------------------
1 |
2 |
3 | echo substr(PHP_VERSION, 0, 5)."\n";
4 | echo substr(zend_version(), 0, 5)."\n";
5 | echo substr(phpversion(),0, 5)."\n";
6 |
7 | ?>
--------------------------------------------------------------------------------
/tests/zdirname.php:
--------------------------------------------------------------------------------
1 |
19 |
--------------------------------------------------------------------------------
/tests/zdo_while.php:
--------------------------------------------------------------------------------
1 | 0);
7 | ?>
8 |
9 |
--------------------------------------------------------------------------------
/tests/zeval.php:
--------------------------------------------------------------------------------
1 |
6 |
--------------------------------------------------------------------------------
/tests/zeval1.php:
--------------------------------------------------------------------------------
1 |
9 |
--------------------------------------------------------------------------------
/tests/zfun_inside_eval.php:
--------------------------------------------------------------------------------
1 |
19 |
--------------------------------------------------------------------------------
/tests/zfunction_falling.php:
--------------------------------------------------------------------------------
1 |
12 |
13 |
--------------------------------------------------------------------------------
/tests/zheyheyhey.php:
--------------------------------------------------------------------------------
1 |
23 |
--------------------------------------------------------------------------------
/tests/znested_functions.php:
--------------------------------------------------------------------------------
1 |
19 |
--------------------------------------------------------------------------------
/tests/znested_if_elseif_else.php:
--------------------------------------------------------------------------------
1 |
15 |
--------------------------------------------------------------------------------
/tests/zrecursive_function.php:
--------------------------------------------------------------------------------
1 |
10 |
--------------------------------------------------------------------------------
/tests/zregression-2.inc:
--------------------------------------------------------------------------------
1 |
2 | This is Finish.phtml. This file is supposed to be included
3 | from regression_test.phtml. This is normal HTML.
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/tests/zsimple_if_condition.php:
--------------------------------------------------------------------------------
1 | 0) { echo "Yes"; } ?>
2 |
--------------------------------------------------------------------------------
/tests/zsimple_if_else.php:
--------------------------------------------------------------------------------
1 |
9 |
--------------------------------------------------------------------------------
/tests/zsimple_if_elsif_else.php:
--------------------------------------------------------------------------------
1 |
9 |
--------------------------------------------------------------------------------
/tests/zsimple_while_loop.php:
--------------------------------------------------------------------------------
1 |
6 |
--------------------------------------------------------------------------------
/tests/zstack_after_return.php:
--------------------------------------------------------------------------------
1 |
14 |
--------------------------------------------------------------------------------
/tests/zstring_scanner.php:
--------------------------------------------------------------------------------
1 |
3 |
--------------------------------------------------------------------------------
/tidbits/function-example/fun.c:
--------------------------------------------------------------------------------
1 | #include
\n";
4 |
5 | phpinfo();
6 |
7 | ?>
8 |
9 |
10 | echo "SERVER:\n";
11 | var_dump($_SERVER);
12 | echo "GET:\n";
13 | var_dump($_GET);
14 | echo "POST:\n";
15 | var_dump($_POST);
16 | echo "REQUEST:\n";
17 | var_dump($_REQUEST);
18 |
19 | ?>
20 |
21 |
25 |
--------------------------------------------------------------------------------
/zend-tests/README:
--------------------------------------------------------------------------------
1 |
2 | All of this code, including the test program and the test templates, originally came from the
3 | Zend PHP implementation, freely available at www.php.net under the PHP License.
4 |
5 | It has been modified in some cases to take advantage of features in Roadsend PHP that aren't
6 | available in Zend PHP, and to remove tests for some features that aren't implemented in
7 | Roadsend PHP.
8 |
9 |
--------------------------------------------------------------------------------
/zend-tests/pcc-test.conf:
--------------------------------------------------------------------------------
1 | ; sa test configuraton
2 | (default-commandline-lib php-std php-pcre php-curl)
3 | (library "../libs/")
4 | (debug-level 0)
5 |
--------------------------------------------------------------------------------
/zend-tests/tests/basic/001.phpt:
--------------------------------------------------------------------------------
1 | --TEST--
2 | Trivial "Hello World" test
3 | --FILE--
4 |
5 | --EXPECT--
6 | Hello World
7 |
--------------------------------------------------------------------------------
/zend-tests/tests/basic/006.phpt:
--------------------------------------------------------------------------------
1 | --TEST--
2 | Add 3 variables together and print result
3 | --FILE--
4 |
5 | --EXPECT--
6 | 6
7 |
--------------------------------------------------------------------------------
/zend-tests/tests/basic/007.phpt:
--------------------------------------------------------------------------------
1 | --TEST--
2 | Multiply 3 variables and print result
3 | --FILE--
4 |
5 | --EXPECT--
6 | 64
7 |
--------------------------------------------------------------------------------
/zend-tests/tests/basic/008.phpt:
--------------------------------------------------------------------------------
1 | --TEST--
2 | Divide 3 variables and print result
3 | --FILE--
4 |
5 | --EXPECT--
6 | 3
7 |
--------------------------------------------------------------------------------
/zend-tests/tests/basic/009.phpt:
--------------------------------------------------------------------------------
1 | --TEST--
2 | Subtract 3 variables and print result
3 | --FILE--
4 |
5 | --EXPECT--
6 | 10
7 |
--------------------------------------------------------------------------------
/zend-tests/tests/basic/010.phpt:
--------------------------------------------------------------------------------
1 | --TEST--
2 | Testing | and & operators
3 | --FILE--
4 |
5 | --EXPECT--
6 | 8
7 |
--------------------------------------------------------------------------------
/zend-tests/tests/basic/bug20539.phpt:
--------------------------------------------------------------------------------
1 | --TEST--
2 | Bug #20539 (PHP CLI Segmentation Fault)
3 | --INI--
4 | session.auto_start=1
5 | session.save_handler=files
6 | --FILE--
7 |
10 | --EXPECT--
11 | good :)
12 |
--------------------------------------------------------------------------------
/zend-tests/tests/classes/abstract_final.phpt:
--------------------------------------------------------------------------------
1 | --TEST--
2 | ZE2 A final method cannot be abstract
3 | --SKIPIF--
4 |
5 | --FILE--
6 |
14 | --EXPECTF--
15 |
16 | Fatal error: Cannot use the final modifier on an abstract class member in %s on line %d
17 |
--------------------------------------------------------------------------------
/zend-tests/tests/classes/bug24399.phpt:
--------------------------------------------------------------------------------
1 | --TEST--
2 | Bug #24399 (is_subclass_of() crashes when parent class doesn't exist)
3 | --FILE--
4 |
11 | --EXPECT--
12 | bool(false)
13 |
--------------------------------------------------------------------------------
/zend-tests/tests/classes/bug24445.phpt:
--------------------------------------------------------------------------------
1 | --TEST--
2 | Bug #24445 (get_parent_class() returns the current class when passed an object)
3 | --FILE--
4 |
10 | --EXPECT--
11 | bool(false)
12 | bool(false)
13 |
--------------------------------------------------------------------------------
/zend-tests/tests/classes/bug27468.phpt:
--------------------------------------------------------------------------------
1 | --TEST--
2 | Bug #27468 (foreach in __destruct() causes segfault)
3 | --FILE--
4 | x as $x);
8 | }
9 | }
10 | new foo();
11 | echo 'OK';
12 | ?>
13 | --EXPECTF--
14 | Notice: Undefined property: foo::$x in %sbug27468.php on line 4
15 |
16 | Warning: Invalid argument supplied for foreach() in %sbug27468.php on line 4
17 | OK
18 |
--------------------------------------------------------------------------------
/zend-tests/tests/classes/bug29446.phpt:
--------------------------------------------------------------------------------
1 | --TEST--
2 | Bug #29446 (ZE allows multiple declarations of the same class constant)
3 | --FILE--
4 |
18 | --EXPECTF--
19 | Fatal error: Cannot redefine class constant testClass::TEST_CONST in %s on line 5
--------------------------------------------------------------------------------
/zend-tests/tests/classes/ctor_name_clash.phpt:
--------------------------------------------------------------------------------
1 | --TEST--
2 | ZE2 The child class can re-use the parent class name for a function member
3 | --FILE--
4 | base();
19 | ?>
20 | --EXPECTF--
21 | base::base
22 | derived::base
23 |
--------------------------------------------------------------------------------
/zend-tests/tests/classes/final_abstract.phpt:
--------------------------------------------------------------------------------
1 | --TEST--
2 | ZE2 A final method cannot be abstract
3 | --SKIPIF--
4 |
5 | --FILE--
6 |
14 | --EXPECTF--
15 |
16 | Fatal error: Cannot use the final modifier on an abstract class member in %s
17 |
--------------------------------------------------------------------------------
/zend-tests/tests/classes/interface_class.phpt:
--------------------------------------------------------------------------------
1 | --TEST--
2 | ZE2 A class can only implement interfaces
3 | --SKIPIF--
4 |
5 | --FILE--
6 |
13 | --EXPECTF--
14 | Fatal error: derived cannot implement base - it is not an interface in %s on line %d
15 |
--------------------------------------------------------------------------------
/zend-tests/tests/classes/interface_instantiate.phpt:
--------------------------------------------------------------------------------
1 | --TEST--
2 | ZE2 An interface cannot be instantiated
3 | --SKIPIF--
4 |
5 | --FILE--
6 |
15 | --EXPECTF--
16 | Fatal error: Cannot instantiate interface if_a in %s on line %d
17 |
--------------------------------------------------------------------------------
/zend-tests/tests/classes/interface_member.phpt:
--------------------------------------------------------------------------------
1 | --TEST--
2 | ZE2 An interface cannot have properties
3 | --SKIPIF--
4 |
5 | --FILE--
6 |
12 | --EXPECTF--
13 | Fatal error: Interfaces may not include member variables in %s on line %d
14 |
--------------------------------------------------------------------------------
/zend-tests/tests/classes/interface_method.phpt:
--------------------------------------------------------------------------------
1 | --TEST--
2 | ZE2 An interface method must be abstract
3 | --SKIPIF--
4 |
5 | --FILE--
6 |
13 | --EXPECTF--
14 |
15 | Fatal error: Interface function if_a::err() cannot contain body %s on line %d
16 |
--------------------------------------------------------------------------------
/zend-tests/tests/classes/interface_method_final.phpt:
--------------------------------------------------------------------------------
1 | --TEST--
2 | ZE2 An interface method cannot be final
3 | --SKIPIF--
4 |
5 | --FILE--
6 |
13 | --EXPECTF--
14 |
15 | Fatal error: Cannot use the final modifier on an abstract class member in %s on line %d
16 |
--------------------------------------------------------------------------------
/zend-tests/tests/classes/interface_method_private.phpt:
--------------------------------------------------------------------------------
1 | --TEST--
2 | ZE2 An interface method cannot be private
3 | --SKIPIF--
4 |
5 | --FILE--
6 |
13 | --EXPECTF--
14 |
15 | Fatal error: Access type for interface method if_a::err() must be omitted in %s on line %d
16 |
--------------------------------------------------------------------------------
/zend-tests/tests/func/001.phpt:
--------------------------------------------------------------------------------
1 | --TEST--
2 | Strlen() function test
3 | --FILE--
4 |
5 | --EXPECT--
6 | 6
7 |
--------------------------------------------------------------------------------
/zend-tests/tests/func/002.phpt:
--------------------------------------------------------------------------------
1 | --TEST--
2 | Static variables in functions
3 | --FILE--
4 | 0) { echo "Yes"; } ?>
5 | --EXPECT--
6 | Yes
7 |
--------------------------------------------------------------------------------
/zend-tests/tests/lang/002.phpt:
--------------------------------------------------------------------------------
1 | --TEST--
2 | Simple While Loop Test
3 | --FILE--
4 |
11 | --EXPECT--
12 | 123456789
13 |
--------------------------------------------------------------------------------
/zend-tests/tests/lang/003.phpt:
--------------------------------------------------------------------------------
1 | --TEST--
2 | Simple Switch Test
3 | --FILE--
4 |
18 | --EXPECT--
19 | good
20 |
--------------------------------------------------------------------------------
/zend-tests/tests/lang/004.phpt:
--------------------------------------------------------------------------------
1 | --TEST--
2 | Simple If/Else Test
3 | --FILE--
4 |
12 | --EXPECT--
13 | good
14 |
--------------------------------------------------------------------------------
/zend-tests/tests/lang/005.phpt:
--------------------------------------------------------------------------------
1 | --TEST--
2 | Simple If/ElseIf/Else Test
3 | --FILE--
4 |
15 | --EXPECT--
16 | good
17 |
--------------------------------------------------------------------------------
/zend-tests/tests/lang/006.phpt:
--------------------------------------------------------------------------------
1 | --TEST--
2 | Nested If/ElseIf/Else Test
3 | --FILE--
4 |
22 | --EXPECT--
23 | good
24 |
--------------------------------------------------------------------------------
/zend-tests/tests/lang/007.phpt:
--------------------------------------------------------------------------------
1 | --TEST--
2 | Function call with global and static variables
3 | --FILE--
4 |
26 | --EXPECT--
27 | 1 5 2 2 10 5 2 5 3 2 10 5 3 5 4 2
28 |
--------------------------------------------------------------------------------
/zend-tests/tests/lang/008.phpt:
--------------------------------------------------------------------------------
1 | --TEST--
2 | Testing recursive function
3 | --FILE--
4 |
17 | --EXPECT--
18 | 1 2 3 4 5 6 7 8 9
19 |
--------------------------------------------------------------------------------
/zend-tests/tests/lang/009.phpt:
--------------------------------------------------------------------------------
1 | --TEST--
2 | Testing function parameter passing
3 | --FILE--
4 |
10 | --EXPECT--
11 | 3
12 |
--------------------------------------------------------------------------------
/zend-tests/tests/lang/010.phpt:
--------------------------------------------------------------------------------
1 | --TEST--
2 | Testing function parameter passing with a return value
3 | --FILE--
4 |
12 | --EXPECT--
13 | 2
14 |
--------------------------------------------------------------------------------
/zend-tests/tests/lang/011.phpt:
--------------------------------------------------------------------------------
1 | --TEST--
2 | Testing nested functions
3 | --FILE--
4 |
22 | --EXPECT--
23 | 4 Hello 4
24 |
--------------------------------------------------------------------------------
/zend-tests/tests/lang/012.phpt:
--------------------------------------------------------------------------------
1 | --TEST--
2 | Testing stack after early function return
3 | --FILE--
4 |
17 | --EXPECT--
18 | HelloHello
19 |
--------------------------------------------------------------------------------
/zend-tests/tests/lang/013.phpt:
--------------------------------------------------------------------------------
1 | --TEST--
2 | Testing eval function
3 | --FILE--
4 |
9 | --EXPECT--
10 | Hello
11 |
--------------------------------------------------------------------------------
/zend-tests/tests/lang/014.phpt:
--------------------------------------------------------------------------------
1 | --TEST--
2 | Testing eval function inside user-defined function
3 | --FILE--
4 |
12 | --EXPECT--
13 | Hello
14 |
--------------------------------------------------------------------------------
/zend-tests/tests/lang/015.inc:
--------------------------------------------------------------------------------
1 |
4 |
--------------------------------------------------------------------------------
/zend-tests/tests/lang/015.phpt:
--------------------------------------------------------------------------------
1 | --TEST--
2 | Testing include
3 | --FILE--
4 |
7 | --EXPECT--
8 | Hello
9 |
--------------------------------------------------------------------------------
/zend-tests/tests/lang/016.inc:
--------------------------------------------------------------------------------
1 |
6 |
--------------------------------------------------------------------------------
/zend-tests/tests/lang/016.phpt:
--------------------------------------------------------------------------------
1 | --TEST--
2 | Testing user-defined function in included file
3 | --FILE--
4 |
8 | --EXPECT--
9 | Hello
10 |
--------------------------------------------------------------------------------
/zend-tests/tests/lang/017.phpt:
--------------------------------------------------------------------------------
1 | --TEST--
2 | Testing user-defined function falling out of an If into another
3 | --FILE--
4 |
17 | --EXPECT--
18 | 1
19 |
--------------------------------------------------------------------------------
/zend-tests/tests/lang/018.phpt:
--------------------------------------------------------------------------------
1 | --TEST--
2 | eval() test
3 | --FILE--
4 |
2 | This is Finish.phtml. This file is supposed to be included
3 | from regression_test.phtml. This is normal HTML.
4 |
5 |
6 |