-
version: "{branch}.build.{build}"
image: Visual Studio 2017
test_script:
- appveyor\test.bat
-
# special cases to invert previous ignore rules
!ext/fileinfo/libmagic.patch
!ext/mbstring/oniguruma.patch
-
php_stream_zip_opener). (Stas)
. ZipArchive::addGlob() will throw an instance of Error instead of resulting
in a fatal error if glob support is not available. (Aaron Piotrowski)
-
php_error(E_WARNING, "module_name_drawtext: not yet implemented");
}
/* }}} */
-
WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
5. Request moderation access to announce@php.net and primary-qa-tester@lists.php.net lists, to
be able to moderate your release announcements. All the announcements should be sent from
the @php.net alias.
-
This macros has to be used within your foo_module_entry to indicate the
extension version.
-
--EXPECTHEADERS--
Status: 404
-
-
-
See https://wiki.php.net/internals/windows/stepbystepbuild_sdk_2
vim:tw=78:sw=1:ts=1:et
-
- [README.GIT-RULES](/README.GIT-RULES)
- [README.MAILINGLIST_RULES](/README.MAILINGLIST_RULES)
- [README.RELEASE_PROCESS](/README.RELEASE_PROCESS)
-
-
AC_DEFUN([AM_SET_LIBTOOL_VARIABLE],[
LIBTOOL='$(SHELL) $(top_builddir)/libtool $1'
])
-
ADD_SOURCES("TSRM", "TSRM.c tsrm_strtok_r.c tsrm_win32.c");
ADD_FLAG("CFLAGS_BD_TSRM", "/D ZEND_ENABLE_STATIC_TSRMLS_CACHE=1");
-
AC_LANG_POP
]) dnl end AC_DEFUN
-
- OpenSSL:
. Windows builds ship with OpenSSL 1.1 by default, lower versions are still supported with custom deps.
-
zend_execute.lo: $(srcdir)/zend_execute.c
$(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(CPPFLAGS) $(INLINE_CFLAGS) -c $(srcdir)/zend_execute.c
-
is the specialized version and the other is the old one non-specialized with
function handlers. By default Zend Engine II uses the specialized one but you
can switch to the old executor at runtime by calling zend_vm_use_old_executor().
-
else
echo "buildconf: created or modified ${1}configure"
fi
-
function func6() { }
function func7() { }
print ("ok\n");
-?>
\ No newline at end of file
+?>
<?php
function nested() {
throw new LogicException('Should not be called');
-}
\ No newline at end of file
+}
class A {}
class B extends A {}
-
* vim600: sw=4 ts=4 fdm=marker
* vim<600: sw=4 ts=4
*/
-
{
return ZEND_VM_KIND;
}
-
if %errorlevel% neq 0 exit /b 3
exit /b 0
-
if %errorlevel% neq 0 exit /b 3
exit /b 0
-
if %errorlevel% neq 0 exit /b 3
exit /b 0
-
nmake test TESTS="%OPCACHE_OPTS% -q --offline --show-diff --show-slow 1000 --set-timeout 120 -g FAIL,XFAIL,BORK,WARN,LEAK,SKIP --temp-source c:\tests_tmp --temp-target c:\tests_tmp"
exit /b %errorlevel%
-
@echo rebuilding $@
@rm -f $@
$(PHP_AUTOCONF) -f $(SUPPRESS_WARNINGS)
-
-e "s'@EXT_MODULE_PTRS@'$module_ptrs'" \
-e 's/@NEWLINE@/\
/g'
-
-
copy %PHP_BUILDCONF_PATH%\win32\build\configure.bat %PHP_BUILDCONF_PATH% > nul
SET PHP_SDK_SCRIPT_PATH=
-IF NOT EXIST %PHP_BUILDCONF_PATH% (echo Error generating configure script, configure script was not copied) ELSE (echo Now run 'configure --help')
\ No newline at end of file
+IF NOT EXIST %PHP_BUILDCONF_PATH% (echo Error generating configure script, configure script was not copied) ELSE (echo Now run 'configure --help')
Phil Nelson <philnelson@acm.org> wrote bcmath library.
-
-
-
GNU LESSER GENERAL PUBLIC LICENSE
Version 2.1, February 1999
Ty Coon, President of Vice
That's all there is to it!
-
-
2000-05-21 Phil Nelson <phil@cs.wwu.edu>
* Initial setup of bcmath library., calling it version 0.1.
-
of the number of digits in the integer part. GMP floats have a
"fixed, but arbitrary" mantissa and so multiplying two floats will end
up dropping digits BC must calculate.
-
cp $(srcdir)/doc/bcmath.1 $(distdir)/doc
cp $(srcdir)/src/private.h $(distdir)/src
cp $(srcdir)/FAQ $(distdir)
-
/* Define to `size_t' if <sys/types.h> and <stddef.h> don't define. */
#undef ptrdiff_t
-
am_indx=`expr "<<$>>am_indx" + 1`
done<<>>dnl>>)
changequote([,]))])
-
/* Version number of package */
#undef VERSION
-
chmod +x $CONFIG_STATUS
rm -fr confdefs* $ac_clean_files
test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
-
-
AC_CHECK_TYPE(ptrdiff_t, size_t)
AC_OUTPUT(Makefile src/Makefile doc/Makefile)
-
bc_free_num (result);
*result = sum;
}
-
{
return _bc_do_compare (n1, n2, TRUE, FALSE);
}
-
return 0; /* Everything is OK. */
}
-
{
return bc_divmod (num1, num2, NULL, result, scale);
}
-
_bc_rm_leading_zeros (diff);
return diff;
}
-
while (ix-- > 0)
*vptr++ = *--bptr;
}
-
{
return num->n_sign == MINUS;
}
-
}
bc_free_num (&power);
}
-
bc_free_num (&diff);
return 1;
}
-
if (bc_is_zero (*num))
(*num)->n_sign = PLUS;
}
-
bc_free_num (result);
*result = diff;
}
-
-
/* $selId: dow.c,v 2.0 1995/10/24 01:13:06 lees Exp $
* Copyright 1993-1995, Scott E. Lee, all rights reserved.
* Permission granted to use, copy, modify, distribute and sell so long as
VariantClear(&vres);
}
/* }}} */
-
return (IDispatch*)disp;
}
-
-
sgml-local-ecat-files:nil
End:
-->
-
return PHP_CURL_SERVER_ADDRESS;
}
-
DBA
-Sascha Schumann, Marcus Boerger
\ No newline at end of file
+Sascha Schumann, Marcus Boerger
are dbm and ndbm which conflict with many installations. The reason for
this is that on several systems these libraries are part of more than one
other library. The configuration test only prevents you from configuring
-malfaunctioning single handlers but not combinations.
\ No newline at end of file
+malfaunctioning single handlers but not combinations.
}
} while(1);
-?>
\ No newline at end of file
+?>
print "Document is valid";
}
-?>
\ No newline at end of file
+?>
-<TEI.2>hello</TEI.2>
\ No newline at end of file
+<TEI.2>hello</TEI.2>
print "Document is valid";
}
-?>
\ No newline at end of file
+?>
<price>9.90</price>
</item>
</items>
-</shipOrder>
\ No newline at end of file
+</shipOrder>
<!ELEMENT a EMPTY>
]>
<a></a>
-
<!ELEMENT b EMPTY>
]>
<a></a>
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<a></a>
-
]>
<root>
<foo bar="" />
-</root>
\ No newline at end of file
+</root>
<?xml version="1.0"?>
<root xmlns="http://ns" xmlns:ns2="http://ns2">
<ns2:child />
-</root>
\ No newline at end of file
+</root>
-<?php if (!extension_loaded('dom')) die('skip dom extension not available');?>
\ No newline at end of file
+<?php if (!extension_loaded('dom')) die('skip dom extension not available');?>
* indent-tabs-mode: t
* End:
*/
-
EXTENSION('exif', 'exif.c', null, '/DZEND_ENABLE_STATIC_TSRMLS_CACHE=1');
}
-}
\ No newline at end of file
+}
}
?>
</body>
-</html>
\ No newline at end of file
+</html>
<?php
include 'test.txt';
-?>
\ No newline at end of file
+?>
}
?>
</body>
-</html>
\ No newline at end of file
+</html>
-
$(builddir)/libmagic/apprentice.lo: $(srcdir)/data_file.c
Version: $Id$
.. vim: et syn=rst tw=78
-
$myinputs = input_get_args($args, INPUT_DATA, $data);
var_dump($myinputs);
-
* vim600: sw=4 ts=4 fdm=marker
* vim<600: sw=4 ts=4
*/
-
WARNING("hash not enabled; libraries and headers not found");
}
}
-
* vim600: noet sw=4 ts=4 fdm=marker
* vim<600: noet sw=4 ts=4
*/
-
// $dlext = (substr(PHP_OS, 0, 3) == "WIN") ? ".dll" : ".so";
// @dl("iconv$dlext");
//}
-?>
\ No newline at end of file
+?>
Start Visual Studio, load php_modules.dsw, select the IMAP projects, and build
it.
-
-
-
Many of the tests in this directory require a mail server to be running, if there is no mail server the test will skip and warn, see skipif.inc for details.
To make the tests run parameters in the skipif.inc and imap_include.inc file will need to be changed to match the local mailserver configuration.
user = root
}
-
-
-
-
}
imap_close($imap_stream, CL_EXPUNGE);
-?>
\ No newline at end of file
+?>
U_CFUNC double intl_zval_to_millis(zval *z, intl_error *err, const char *func);
#endif /* COMMON_DATE_H */
-
RETURN_TRUE;
}
/* }}} */
-
PHP_FUNCTION(datefmt_get_calendar_object);
#endif /* DATEFORMAT_ATTRCPP_H */
-
bool& calendar_owned);
#endif /* DATEFORMAT_HELPERS_H */
-
NUMERIC_COLLATION - When turned on, this attribute generates a collation key for the
numeric value of substrings of digits. This is a way to get '100' to sort AFTER '2'.
-
function grapheme_extract($haystack, $size, $extract_type = GRAPHEME_EXTR_COUNT, $start = 0, &$next) {}
?>
-
-
* vim600: fdm=marker
* vim: noet sw=4 ts=4
*/
-
* vim600: fdm=marker
* vim: noet sw=4 ts=4
*/
-
passthru( ICU_DIR."genrb -s $here/_files/ -d $here/_files/resourcebundle res_index.txt");
-// passthru(ICU_DIR."icupkg -tl -a $here/rb.txt -s $here/_files -d $here/_files new $here/_files/resourcebundle.dat");
\ No newline at end of file
+// passthru(ICU_DIR."icupkg -tl -a $here/rb.txt -s $here/_files -d $here/_files new $here/_files/resourcebundle.dat");
}
return $ret . sprintf( "%5d: %s\n", intl_get_error_code(), intl_get_error_message() );
}
-
-
ext\json\json_scanner.c: ext\json\json_scanner.re
$(RE2C) -t ext/json/php_json_scanner_defs.h --no-generation-date -bci -o ext/json/json_scanner.c ext/json/json_scanner.re
PHP_INSTALL_HEADERS("ext/json/", "php_json.h php_json_parser.h php_json_scanner.h");
}
-
int php_json_yyparse(php_json_parser *parser);
#endif /* PHP_JSON_PARSER_H */
-
int php_json_scan(php_json_scanner *s);
#endif /* PHP_JSON_SCANNER_H */
-
WARNING("ldap not enabled; libraries and headers not found");
}
}
-
already. If you are curious, search archive for details.
Thank you.
-
-
-
libmbfl is a streamable multibyte character code filter and
converter library.
libmbfl is distributed under LGPL 2.1 and bundled with PHP.
hirokawa@php.net, moriyoshi@php.net.
See libmbfl/DISCLAIMER for licensing information of libmbfl.
-
o 2000-12-09, Rui Hirokawa <hirokawa@php.net>
Fixed mail() which was causing segmentation fault when header was null.
-
1999/4/26 sgk 入力フィルタを実装。漢字コードを推定しながらフィルタを追加。
1999/6/?? Unicodeサポート。
1999/6/22 sgk ライセンスをLGPLに変更。
-
-
For UNIX compatible system,
./buildconf
For Windows,
Visual C++ 6.0 and Borland C++ 5.0 is suppoted.
-
-
version 1.3.2 August 20, 2011
- added JISX-0213:2004 based encoding : Shift_JIS-2004, EUC-JP-2004, ISO-2022-JP-2004 (rui).
0x285F, 0x2860, 0x2861, };
static const unsigned short mb_tbl_uni_sb2code5_len = sizeof(mb_tbl_uni_sb2code5_key)/sizeof(unsigned short);
-
extern const mbfl_html_entity_entry mbfl_html_entity_list[];
#endif /* MBFL_HTML_ENTITIES_H */
-
int mbfl_filt_conv_wchar_ascii(int c, mbfl_convert_filter *filter);
#endif /* MBFL_MBFILTER_ASCII_H */
-
-
CK((*filter->output_function)((c >> 8) & 0xff, filter->data));
return c;
}
-
-
CK((*filter->output_function)((c >> 24) & 0xff, filter->data));
return c;
}
-
-
filter->flag = 1; /* not it */
return c;
}
-
-
int mbfl_filt_conv_cp1251_wchar(int c, mbfl_convert_filter *filter);
#endif /* MBFL_MBFILTER_CP1251_H */
-
filter->flag = 1; /* not it */
return c;
}
-
-
filter->flag = 1; /* not it */
return c;
}
-
-
filter->flag = 1; /* not it */
return c;
}
-
-
filter->flag = 1; /* not it */
return c;
}
-
-
mbfl_filt_conv_wchar_jis2004,
mbfl_filt_conv_jis2004_flush
};
-
-
/*
* "streamable kanji code filter and converter"
* Copyright (c) 1998-2002 HappySize, Inc. All rights reserved.
return 0;
}
-
mbfl_filt_tl_jisx0201_jisx0208,
mbfl_filt_tl_jisx0201_jisx0208_flush
};
-
int mbfl_filt_conv_wchar_utf32le(int c, mbfl_convert_filter *filter);
#endif /* MBFL_MBFILTER_UTF32_H */
-
int mbfl_filt_conv_uudec(int c, mbfl_convert_filter *filter);
#endif /* MBFL_MBFILTER_UUENCODE_H */
-
-
-
static const unsigned short sjis_mac2wchar1[] = { // 0x03ac - 0x03c9
0x339c, 0x339f, 0x339d, 0x33a0,
0x33a4, 0xff4d, 0x33a1, 0x33a5,
/* ~ 126 */ MBFL_CHP_MMHQENC ,
/* DEL 127 */ MBFL_CHP_MMHQENC
};
-
static const int uni2jis_tbl_len = sizeof(uni2jis_tbl_range)/(sizeof(int)*2);
#endif /* UNICODE_TABLE_JIS2004_H */
-
#endif /* UNNICODE_TABLE_KOI8U_H */
-
{
return (*filter->output_function)(c, filter->data);
}
-
filter->status = 0;
filter->cache = 0;
}
-
-
return language->name;
}
}
-
#endif /* MBFL_MEMORY_DEVICE_H */
-
mbfl_no_encoding_qprint,
mbfl_no_encoding_8bit
};
-
mbfl_no_encoding_qprint,
mbfl_no_encoding_8bit
};
-
mbfl_no_encoding_base64,
mbfl_no_encoding_7bit
};
-
mbfl_no_encoding_base64,
mbfl_no_encoding_base64
};
-
mbfl_no_encoding_qprint,
mbfl_no_encoding_8bit
};
-
mbfl_no_encoding_base64,
mbfl_no_encoding_base64
};
-
mbfl_no_encoding_base64,
mbfl_no_encoding_8bit
};
-
expect {
"%1b%24%42%2d%42%1b%28%42 (8)\r\n" { pass $test }
}
-
* vim600: fdm=marker
* vim: noet sw=4 ts=4
*/
-
* vim600: noet sw=4 ts=4 fdm=marker
* vim<600: noet sw=4 ts=4
*/
-
#endif /* PHP_UNICODE_H */
-
-
-
Copyright 1999-2003 The OpenLDAP Foundation, Redwood City,
California, USA. All Rights Reserved. Permission to copy and
-distribute verbatim copies of this document is granted.
\ No newline at end of file
+distribute verbatim copies of this document is granted.
Example usage:
./ucgendat UnicodeData-6.0.0d7.txt -x CompositionExclusions-6.0.0d2.txt
-
-
-
PHP_METHOD(mysqli_warning,__construct);
#endif /* MYSQLI_FE_H */
-
#endif
#endif /* MYSQLI_LIBMYSQL_H */
-
}
mysqli_close($link);
-?>
\ No newline at end of file
+?>
// printf("getDefaultValue: %s\n", ($param->getDefaultValue()) ? 'yes' : 'no');
}
-?>
\ No newline at end of file
+?>
if (!extension_loaded('mysqli')){
die('skip mysqli extension not available');
}
-?>
\ No newline at end of file
+?>
$driver = new mysqli_driver();
if ($driver->embedded)
die("skip test doesn't run with embedded server");
-?>
\ No newline at end of file
+?>
$driver = new mysqli_driver();
if (!$driver->embedded)
die("skip test for with embedded server only");
-?>
\ No newline at end of file
+?>
if (false == $pass) {
$pass = '';
}
-
ADD_FLAG('CFLAGS_OPCACHE', "/I " + configure_module_dirname);
}
-
Thanks,
Jason Greeme < jason@inetgurus.net / jason@php.net >
-
-
-
-
-
if (PHP_PCRE_JIT != "no") {
AC_DEFINE('HAVE_PCRE_JIT_SUPPORT', 1, 'PCRE library');
}
-
PHP Data Objects
Wez Furlong, Marcus Boerger, Sterling Hughes, George Schlossnagle, Ilia Alshanetsky
-
# mini hack
install: $(all_targets) $(install_targets) install-pdo-headers
-
-
ext\pdo\pdo_sql_parser.c: ext\pdo\pdo_sql_parser.re
cd $(PHP_SRC_DIR)
$(RE2C) --no-generation-date -o ext/pdo/pdo_sql_parser.c ext/pdo/pdo_sql_parser.re
-
autocommit is turned off.
vim:tw=78:et
-
-
dnl so we always include the known-good working hack.
PHP_ADD_MAKEFILE_FRAGMENT
fi
-
WARNING("pdo_mssql not enabled, libraries or headers not found")
}
}
-
MySQL driver for PDO
George Schlossnagle, Wez Furlong, Ilia Alshanetsky, Johannes Schlueter
-
// $db->exec('DROP TABLE IF EXISTS test');
$db->exec('CREATE TABLE test(id INT, label CHAR(1), PRIMARY KEY(id)) ENGINE=' . $engine);
$db->exec('INSERT INTO test(id, label) VALUES (1, "a"), (2, "b"), (3, "c"), (4, "d"), (5, "e"), (6, "f")');
-?>
\ No newline at end of file
+?>
AC_DEFINE_UNQUOTED(PHP_PDO_OCI_CLIENT_VERSION, "$PDO_OCI_VERSION", [ ])
fi
-
PHP_PDO_ODBC = "no"
}
}
-
-
#endif
#endif /* PHP_PDO_SQLITE_H */
-
Again, experimental functions are subject to be changed without
notice.
-
PHP_NEW_EXTENSION(pgsql, pgsql.c, $ext_shared,, -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1)
fi
-
-
@$(mkinstalldirs) $(INSTALL_ROOT)$(mandir)/man1
@$(INSTALL_DATA) $(builddir)/phar.1 $(INSTALL_ROOT)$(mandir)/man1/phar.1
@$(INSTALL_DATA) $(builddir)/phar.phar.1 $(INSTALL_ROOT)$(mandir)/man1/phar.phar.1
-
-
ext\phar\phar_path_check.c: ext\phar\phar_path_check.re
cd $(PHP_SRC_DIR)
$(RE2C) --no-generation-date -b -o ext/phar/phar_path_check.c ext/phar/phar_path_check.re
-
* vim600: noet sw=4 ts=4 fdm=marker
* vim<600: noet sw=4 ts=4
*/
-
dump_entry "pharname"|"pharalias" "filename" [1]
display phar_entry_info for a file within a phar. If the optional third param
is passed in, displays the php_stream that is the file's fp
-end
\ No newline at end of file
+end
}
}
-?>
\ No newline at end of file
+?>
}
}
-?>
\ No newline at end of file
+?>
}
}
-?>
\ No newline at end of file
+?>
}
}
-?>
\ No newline at end of file
+?>
__HALT_COMPILER();
-?>
\ No newline at end of file
+?>
var_dump("hi");';
$a->setStub('<?php
Phar::webPhar();
-__HALT_COMPILER();');
\ No newline at end of file
+__HALT_COMPILER();');
$p['b/c.php'] = '<?php echo "in b\n";$a = fopen("index.php", "r", true);echo stream_get_contents($a);fclose($a);include dirname(__FILE__) . "/../d";';
$p['d'] = "in d\n";
$p->setStub($p->createDefaultStub('index.php', 'web.php'));
-?>
\ No newline at end of file
+?>
$ftime = mktime(12, 0, 0, 3, 1, 2006);
include 'phar_test.inc';
-?>
\ No newline at end of file
+?>
fclose($fp);
}
-?>
\ No newline at end of file
+?>
var_dump("hi");';
$a->setStub('<?php
Phar::webPhar();
-__HALT_COMPILER();');
\ No newline at end of file
+__HALT_COMPILER();');
$p['b/c.php'] = '<?php echo "in b\n";$a = fopen("index.php", "r", true);echo stream_get_contents($a);fclose($a);include dirname(__FILE__) . "/../d";';
$p['d'] = "in d\n";
$p->setStub($p->createDefaultStub('index.php', 'web.php'));
-?>
\ No newline at end of file
+?>
$ftime = mktime(12, 0, 0, 3, 1, 2006);
include 'phar_test.inc';
-?>
\ No newline at end of file
+?>
************************************************************************************************
************************************************************************************************
*********************************************/
-__HALT_COMPILER();');
\ No newline at end of file
+__HALT_COMPILER();');
fwrite($this->tmp, pack('a1024', ''));
fclose($this->tmp);
}
-}
\ No newline at end of file
+}
fwrite($this->tmp, pack('a1024', ''));
fclose($this->tmp);
}
-}
\ No newline at end of file
+}
fwrite($this->tmp, (binary)'oopsie');
fclose($this->tmp);
}
-}
\ No newline at end of file
+}
fwrite($this->tmp, pack('a1024', ''));
fclose($this->tmp);
}
-}
\ No newline at end of file
+}
file_put_contents($zipfile, $write);
}
}
-?>
\ No newline at end of file
+?>
fwrite($fp, 'oopsie');
fclose($fp);
}
-}
\ No newline at end of file
+}
{
$this->zip->close();
}
-}
\ No newline at end of file
+}
pspell_save_wordlist() to save it.
Note that at this moment pspell_save_wordlist() will return TRUE, even if
-there was an error. This will be changed once pspell library is fixed.
\ No newline at end of file
+there was an error. This will be changed once pspell library is fixed.
WARNING("pspell not enabled; libraries and headers not found");
}
}
-
WARNING("readline not enabled; libraries and headers not found");
}
}
-
#endif /* HAVE_LIBREADLINE */
#endif /* PHP_READLINE_H */
-
extern PHP_MINFO_FUNCTION(cli_readline);
ZEND_EXTERN_MODULE_GLOBALS(cli_readline)
-
-
echo __FILE__ . "\n";
echo __LINE__ . "\n";
}
-?>
\ No newline at end of file
+?>
shmid - shmid which to close
returns zero
-
-
</elem2>Here is some more</elem1>
<elem1 attr1='11' attr2='12'/>
<elem11><elem111><elem1111/></elem111></elem11>
-</sxe>
\ No newline at end of file
+</sxe>
<link>http://slashdot.org/search.pl</link>
</textinput>
-</rdf:RDF>
\ No newline at end of file
+</rdf:RDF>
</elem3>
</elem2>
</elem1>
-</sxe>
\ No newline at end of file
+</sxe>
</elem3>
</elem2>
</elem1>
-</sxe>
\ No newline at end of file
+</sxe>
-extname
\ No newline at end of file
+extname
WARNING("snmp not enabled; libraries and headers not found");
}
}
-
if (snmpget($hostname, $community, '.1.3.6.1.2.1.1.1.0', $timeout) === false)
die('NO SNMPD on this host or community invalid');
-
return $res;
}
-?>
\ No newline at end of file
+?>
xmlDocPtr doc = Z_PTR_P(zv);
xmlFreeDoc(doc);
}
-
$server = new SoapServer(dirname(__FILE__)."/round2_base.wsdl");
$server->setClass("SOAP_Interop_Base");
$server->handle($HTTP_RAW_POST_DATA);
-?>
\ No newline at end of file
+?>
$server = new SoapServer(dirname(__FILE__)."/round3_groupD_doclit.wsdl");
$server->setClass("SOAP_Interop_GroupD");
$server->handle($HTTP_RAW_POST_DATA);
-?>
\ No newline at end of file
+?>
$server = new SoapServer(dirname(__FILE__)."/round3_groupD_doclitparams.wsdl");
$server->setClass("SOAP_Interop_GroupD");
$server->handle($HTTP_RAW_POST_DATA);
-?>
\ No newline at end of file
+?>
$server = new SoapServer(dirname(__FILE__)."/round3_groupD_emptysa.wsdl");
$server->setClass("SOAP_Interop_GroupD");
$server->handle($HTTP_RAW_POST_DATA);
-?>
\ No newline at end of file
+?>
$server = new SoapServer(dirname(__FILE__)."/round3_groupD_import1.wsdl");
$server->setClass("SOAP_Interop_GroupD");
$server->handle($HTTP_RAW_POST_DATA);
-?>
\ No newline at end of file
+?>
$server = new SoapServer(dirname(__FILE__)."/round3_groupD_import2.wsdl");
$server->setClass("SOAP_Interop_GroupD");
$server->handle($HTTP_RAW_POST_DATA);
-?>
\ No newline at end of file
+?>
$server = new SoapServer(dirname(__FILE__)."/round3_groupD_import3.wsdl");
$server->setClass("SOAP_Interop_GroupD");
$server->handle($HTTP_RAW_POST_DATA);
-?>
\ No newline at end of file
+?>
$server = new SoapServer(dirname(__FILE__)."/round3_groupD_rpcenc.wsdl");
$server->setClass("SOAP_Interop_GroupD");
$server->handle($HTTP_RAW_POST_DATA);
-?>
\ No newline at end of file
+?>
$server->setClass("SOAP_Interop_GroupE");
$server->handle($HTTP_RAW_POST_DATA);
var_dump($d);
-?>
\ No newline at end of file
+?>
$server = new SoapServer(dirname(__FILE__)."/round3_groupF_ext.wsdl");
$server->setClass("SOAP_Interop_GroupF");
$server->handle($HTTP_RAW_POST_DATA);
-?>
\ No newline at end of file
+?>
$server = new SoapServer(dirname(__FILE__)."/round3_groupF_ext.wsdl");
$server->setClass("SOAP_Interop_GroupF");
$server->handle($HTTP_RAW_POST_DATA);
-?>
\ No newline at end of file
+?>
WARNING("sockets not enabled; libraries and headers not found");
}
}
-
* c-basic-offset: 4
* End:
*/
-
[Using Libsodium in PHP Projects](https://paragonie.com/book/pecl-libsodium),
a guide to using the libsodium PHP extension for modern, secure, and
fast cryptography.
-
fprintf(STDERR, 'Class not found ('.$classname.")\n");
}
-?>
\ No newline at end of file
+?>
{
}
-?>
\ No newline at end of file
+?>
}
}
-?>
\ No newline at end of file
+?>
echo "$v\n";
}
-?>
\ No newline at end of file
+?>
var_dump($err);
exit(1);
}
-?>
\ No newline at end of file
+?>
echo "'$key' => '$val'\n";
}
-?>
\ No newline at end of file
+?>
}
}
-?>
\ No newline at end of file
+?>
}
}
-?>
\ No newline at end of file
+?>
}
}
-?>
\ No newline at end of file
+?>
echo $file . "\n";
}
-?>
\ No newline at end of file
+?>
}
}
-?>
\ No newline at end of file
+?>
}
}
-?>
\ No newline at end of file
+?>
if (!class_exists("FindFile", false)) require_once("findfile.inc");
foreach(new FindFile($argv[1], $argv[2]) as $file) echo $file->getPathname()."\n";
-?>
\ No newline at end of file
+?>
echo $file->getPathname()."\n";
}
-?>
\ No newline at end of file
+?>
echo "$group\n";
}
-?>
\ No newline at end of file
+?>
}
}
-?>
\ No newline at end of file
+?>
}
}
-?>
\ No newline at end of file
+?>
echo $pathname."\n";
}
-?>
\ No newline at end of file
+?>
$phar->commit();
-?>
\ No newline at end of file
+?>
}
}
-?>
\ No newline at end of file
+?>
}
}
-?>
\ No newline at end of file
+?>
require_once($file);
}
-?>
\ No newline at end of file
+?>
}
}
-?>
\ No newline at end of file
+?>
}
}
-?>
\ No newline at end of file
+?>
}
}
-?>
\ No newline at end of file
+?>
}
}
-?>
\ No newline at end of file
+?>
}
}
-?>
\ No newline at end of file
+?>
function getInnerIterator();
}
-?>
\ No newline at end of file
+?>
}
}
-?>
\ No newline at end of file
+?>
private $ref;
}
-?>
\ No newline at end of file
+?>
}
}
-?>
\ No newline at end of file
+?>
private $ref;
}
-?>
\ No newline at end of file
+?>
function getChildren();
}
-?>
\ No newline at end of file
+?>
}
}
-?>
\ No newline at end of file
+?>
private $ref;
}
-?>
\ No newline at end of file
+?>
}
}
-?>
\ No newline at end of file
+?>
function seek($index);
}
-?>
\ No newline at end of file
+?>
* vim600: fdm=marker
* vim: noet sw=4 ts=4
*/
-
{
}
-?>
\ No newline at end of file
+?>
echo __FILE__ . "\n";
-?>
\ No newline at end of file
+?>
echo __FILE__ . "\n";
-?>
\ No newline at end of file
+?>
-
$(srcdir)/var_unserializer.c: $(srcdir)/var_unserializer.re
@(cd $(top_srcdir); $(RE2C) --no-generation-date -b -o ext/standard/var_unserializer.c ext/standard/var_unserializer.re)
-
ext\standard\var_unserializer.c: ext\standard\var_unserializer.re
cd $(PHP_SRC_DIR)
$(RE2C) --no-generation-date -b -o ext/standard/var_unserializer.c ext/standard/var_unserializer.re
$(RE2C) --no-generation-date -b -o ext/standard/url_scanner_ex.c ext/standard/url_scanner_ex.re
$(BUILD_DIR)\ext\standard\basic_functions.obj: $(PHP_SRC_DIR)\Zend\zend_language_parser.h
-
* vim600: sw=4 ts=4 fdm=marker
* vim<600: sw=4 ts=4
*/
-
}
ADD_MAKEFILE_FRAGMENT();
PHP_INSTALL_HEADERS("", "ext/standard");
-
PHP_FUNCTION(convert_cyr_string);
#endif /* CYR_CONVERT_H */
-
-
-
permil 2030
lsaquo 2039
rsaquo 203A
-euro 20AC
\ No newline at end of file
+euro 20AC
zopf 1D56B
zscr 1D4CF
zwj 0200D
-zwnj 0200C
\ No newline at end of file
+zwnj 0200C
spades 2660
clubs 2663
hearts 2665
-diams 2666
\ No newline at end of file
+diams 2666
* vim600: sw=4 ts=4 fdm=marker
* vim<600: sw=4 ts=4
*/
-
END_EXTERN_C()
#endif /* INFO_H */
-
* vim600: noet sw=4 ts=4 fdm=marker
* vim<600: noet sw=4 ts=4
*/
-
#undef MD5_MAGIC
#undef MD5_MAGIC_LEN
#endif
-
* vim600: sw=4 ts=4 fdm=marker
* vim<600: sw=4 ts=4
*/
-
PHP_MINIT_FUNCTION(mt_rand);
#endif /* PHP_MT_RAND_H */
-
/* Header moved to Zend. This file is retained for BC. */
#include "zend_smart_string.h"
-
/* Header moved to Zend. This file is retained for BC. */
#include "zend_smart_string_public.h"
-
int is_persistent;
php_process_env_t env;
};
-
* vim600: noet sw=4 ts=4 fdm=marker
* vim<600: noet sw=4 ts=4
*/
-
* vim600: noet sw=4 ts=4 fdm=marker
* vim<600: noet sw=4 ts=4
*/
-
}
}
-?>
\ No newline at end of file
+?>
Interface AutoInterface {}
-?>
\ No newline at end of file
+?>
class AutoLoaded {}
-?>
\ No newline at end of file
+?>
}
-?>
\ No newline at end of file
+?>
trait AutoTrait {}
-?>
\ No newline at end of file
+?>
rmdir($newdir);
}
}
-?>
\ No newline at end of file
+?>
stream_get_contents($stream);
}
-
return false;
}
}
-?>
\ No newline at end of file
+?>
Browser="Default Browser"
isMobileDevice="false"
isTablet="false"
-
http_response_code($_REQUEST["status"]);
}
-echo "HELLO!\n";
\ No newline at end of file
+echo "HELLO!\n";
if (PHP_SYSVSHM != 'no') {
AC_DEFINE('HAVE_SYSVSHM', 1);
EXTENSION('sysvshm', 'sysvshm.c');
-}
\ No newline at end of file
+}
-
README FOR ext/tidy by John Coggeshall <john@php.net>
WARNING("tidy not enabled; libraries and headers not found");
}
}
-
}
-?>
\ No newline at end of file
+?>
EXTENSION("tokenizer", "tokenizer.c tokenizer_data.c");
AC_DEFINE("HAVE_TOKENIZER", 1, "Tokenizer support");
}
-
-
ADD_EXTENSION_DEP('wddx', 'xml')
CHECK_HEADER_ADD_INCLUDE("timelib_config.h", "CFLAGS_WDDX", "ext/date/lib");
}
-
-
ADD_EXTENSION_DEP('xmlreader', 'libxml');
ADD_EXTENSION_DEP('xmlreader', 'dom');
}
-
-<TEI.2>hello</TEI.2>
\ No newline at end of file
+<TEI.2>hello</TEI.2>
print "Document is valid\n";
}
-?>
\ No newline at end of file
+?>
}
print "\n\nValid:\n";
var_dump($xml->isValid());
-?>
\ No newline at end of file
+?>
<record><aaa><bbbb><ccc><![CDATA[XXX Xxxxxxxxxxxx]]></ccc><ddd><![CDATA[XXX Xx]]></ddd></bbbb><eee><![CDATA[Xxxxx xxxxxxx: xxxx://xxx.xxx.xx.xx/xxxx?xxxxXx=0xx000x0-000x-0xx0-x000-x0000xx0xx00
Xxxxxxxxxxxx xx Xxxxxxxxxxxx Xxxxxxxxx xx Xxxxxxxxx Xxxxxxxxxxxx Xxxxxxxxxxx Xxxxxxxxxxxx (XXX Xxxxxxxxxxxx), xxxxxxxxx xxxxxxx xx Xxx Xxxxxxxxxx Xxxxxxxxxx Xxx.]]></eee></aaa><fff><bbbb><ggg><![CDATA[Xxxxxxxxx Xxxxxxxxxxxxxxx Xxxxxxxxxx xx Xxxxxxxxxxxx]]></ggg><ccc><![CDATA[XXX Xxxxxxxxxxxx]]></ccc></bbbb><hhh><![CDATA[Xx xxxxx, xx xxxxxxxxxxx XXX Xxxxxxxxxxxx x xxxxxcé x’xxxxxxxx xxx x’Xxxxxxléx léxxxxxxxxx xx xx xxxxxxxx xx xx Xxxxxxxxxx Xxxxxxxxxx Xxx (xxx xxx xx xxxxxxxxxx xxxxxxxxx). Xxxxx xxx xréxxxx xxx xxxxxx xxx déxxxxxxxx XXX Xxxxxxxxxxxx xx xxxx xx’xxxxxxxxxxxx xxxxxxxxxxxxxxx xxxxréxxxxxxtéx xx xxxxxxx xxx XX, xxx XXX xx xxx XXX xx xx xxxxxxxx xx xxxxx x’xxxxxxxx xx xxxxx xx xxxxxxxxx xxxxxxxxxxxxx xxréé (XXX). (Xxxxxxxxéx XXX - Xxx 0000)]]></hhh></fff></record>
-</records>
\ No newline at end of file
+</records>
<record><aaa><bbbb><ddd><![CDATA[XXX Xx]]></ddd></bbbb><eee><![CDATA[Xxxxx xxxxxxx: xxxx://xxx.xxx.xx.xx/xxxx?xxxxXx=0xx000x0-000x-0xx0-x000-x0000xx0xx00
Xxxxxxxxxxxx xx Xxxxxxxxxxxx Xxxxxxxxx xx Xxxxxxxxx Xxxxxxxxxxxx Xxxxxxxxxxx Xxxxxxxxxxxx (XXX Xxxxxxxxxxxx), xxxxxxxxx xxxxxxx xx Xxx Xxxxxxxxxx Xxxxxxxxxx Xxx.]]></eee></aaa><fff><bbbb><ggg><![CDATA[Xxxxxxxxx Xxxxxxxxxxxxxxx Xxxxxxxxxx xx Xxxxxxxxxxxx]]></ggg><ccc><![CDATA[XXX Xxxxxxxxxxxx]]></ccc></bbbb><hhh><![CDATA[Xx xxxxx, xx xxxxxxxxxxx XXX Xxxxxxxxxxxx x xxxxxcé x’xxxxxxxx xxx x’Xxxxxxléx léxxxxxxxxx xx xx xxxxxxxx xx xx Xxxxxxxxxx Xxxxxxxxxx Xxx (xxx xxx xx xxxxxxxxxx xxxxxxxxx). Xxxxx xxx xréxxxx xxx xxxxxx xxx déxxxxxxxx XXX Xxxxxxxxxxxx xx xxxx xx’xxxxxxxxxxxx xxxxxxxxxxxxxxx xxxxréxxxxxxtéx xx xxxxxxx xxx XX, xxx XXX xx xxx XXX xx xx xxxxxxxx xx xxxxx x’xxxxxxxx xx xxxxx xx xxxxxxxxx xxxxxxxxxxxxx xxréé (XXX). (Xxxxxxxxéx XXX - Xxx 0000)]]></hhh></fff></record>
-</records>
\ No newline at end of file
+</records>
This allows us to have a nicely encapsulated C api with opaque data types and private functions
that are nonetheless shared between source files without redundant extern declarations..
-
-
-
-
-
#define malloc(s) _malloc_real(s,__FILE__,__LINE__)
#define free(p) _free_real(p, __FILE__,__LINE__)
#endif
-
{
return convert(s, len, newlen, "UTF-8", encoding);
}
-
/*-***********************
* End System Methods API *
*************************/
-
-
-
#endif /* __SYSTEM_METHODS_PRIVATE_H */
-
-
-
-
#endif
#endif /* not XMLRPC_ALREADY_INCLUDED */
-
-
-
/*-**********************
* End Introspection API *
************************/
-
-
-
#endif /* __XI_INTROSPECTION_H */
-
-
-
#endif /* __XI_INTROSPECTION_PRIVATE_H */
-
-
-
-
#endif /* XMLRPC_PRIVATE_ALREADY_INCLUDED */
-
* c-basic-offset: 4
* End:
*/
-
WARNING('Could not find xmlwriter.h');
}
}
-
$out = xmlwriter_output_memory($xw);
echo $out;
-
$out = xmlwriter_output_memory($xw, 0);
echo $out;
-
<artist>Jimi Hendrix</artist>
<year>1997</year>
</cd>
-</collection>
\ No newline at end of file
+</collection>
<AREA_NAME_ENG>m."Avtovo"</AREA_NAME_ENG>
</ROW>
</AREA_NAME>
-
-
-
<date date="2006-01-01"/>
<date date="2007-12-31"/>
</page>
-
if (PHP_ZEND_TEST != "no") {
EXTENSION("zend_test", "test.c", PHP_ZEND_TEST_SHARED, "/DZEND_ENABLE_STATIC_TSRMLS_CACHE=1");
}
-
#endif
ZEND_GET_MODULE(zend_test)
#endif
-
$found = $z->addGlob("/home/pierre/cvs/gd/libgd/tests/*.png", 0, $options);
var_dump($found);
$z->close();
-
$found = $z->addPattern("/(\.png)$/i", "/home/pierre/cvs/gd/libgd/tests", $options);
var_dump($found);
$z->close();
-
));
$text = file_get_contents("zip://$name#$file", false, $ctx);
printf("Size = %d\n", strlen($text));
-
fclose($fp);
file_put_contents('t',$contents);
echo "done.\n";
-
-
echo "Archive comment: " . $z->getArchiveComment() . "\n";
echo "Archive comment (original): " . $z->getArchiveComment(ZIPARCHIVE::FL_UNCHANGED) . "\n";
-
$im_string = $z->getFromName("pear_item.gif");
$im = imagecreatefromstring($im_string);
imagepng($im, 'b.png');
-
$z = new myZip;
$z->testp = "foobar";
var_dump($z);
-
-
<?php
$data = <<<QUOTE
To be or not to be, that is the question;
QUOTE;
-?>
\ No newline at end of file
+?>
rmdir($newdir);
}
}
-?>
\ No newline at end of file
+?>
}
mkdir($workingDir);
chdir($workingDir);
-?>
\ No newline at end of file
+?>
Start Visual Studio, load php_modules.dsw, select the ZLIB projects, and build
it.
-
-
-
/*
* Local variables:
* tab-width: 4
cp $f $f.orig
grep -v '#line ' $f.orig > $f
done
-
void php_stream_tidy_wrapper_error_log(php_stream_wrapper *wrapper);
void php_stream_display_wrapper_errors(php_stream_wrapper *wrapper, const char *path, const char *caption);
-
NULL, /* stat */
NULL /* set_option */
};
-
-
else \
cat $(srcdir)/install-pear.txt; \
fi
-
$err = error_get_last();
echo "\nError..\n", $err["message"], "\n";
exit(1);
-
-
PHP functions like apache_sub_req (see php_functions.c)
Source Code Highlighting
Protocol handlers
-
WARNING("Could not find apache 2.4 libraries/headers");
}
}
-
@echo "Installing PHP CGI man page: $(INSTALL_ROOT)$(mandir)/man1/"
@$(mkinstalldirs) $(INSTALL_ROOT)$(mandir)/man1
@$(INSTALL_DATA) sapi/cgi/php-cgi.1 $(INSTALL_ROOT)$(mandir)/man1/$(program_prefix)php-cgi$(program_suffix).1
-
@echo "Installing PHP CLI man page: $(INSTALL_ROOT)$(mandir)/man1/"
@$(mkinstalldirs) $(INSTALL_ROOT)$(mandir)/man1
@$(INSTALL_DATA) sapi/cli/php.1 $(INSTALL_ROOT)$(mandir)/man1/$(program_prefix)php$(program_suffix).1
-
SAPI('cli_win32', 'cli_win32.c php_cli_process_title.c ps_title.c', 'php-win.exe', '/DZEND_ENABLE_STATIC_TSRMLS_CACHE=1');
ADD_FLAG("LDFLAGS_CLI_WIN32", "/stack:67108864");
}
-
else
AC_MSG_RESULT(no)
fi
-
-
/* $Id: fpm.c,v 1.23 2008/07/20 16:38:31 anight Exp $ */
/* (c) 2007,2008 Andrei Nigmatulin */
return fpm_globals.listening_socket;
}
/* }}} */
-
-
/* $Id: fpm.h,v 1.13 2008/05/24 17:38:47 anight Exp $ */
/* (c) 2007,2008 Andrei Nigmatulin */
-
/* $Id: fpm_arrays.h,v 1.2 2008/05/24 17:38:47 anight Exp $ */
/* (c) 2007,2008 Andrei Nigmatulin */
-
/* $Id: fpm_atomic.h,v 1.3 2008/09/18 23:34:11 anight Exp $ */
/* (c) 2007,2008 Andrei Nigmatulin */
#define fpm_unlock(lock) lock = 0
#endif
-
-
/* $Id: fpm_children.c,v 1.32.2.2 2008/12/13 03:21:18 anight Exp $ */
/* (c) 2007,2008 Andrei Nigmatulin */
return 0;
}
/* }}} */
-
-
/* $Id: fpm_children.h,v 1.9 2008/05/24 17:38:47 anight Exp $ */
/* (c) 2007,2008 Andrei Nigmatulin */
-
/* $Id: fpm_cleanup.c,v 1.8 2008/05/24 17:38:47 anight Exp $ */
/* (c) 2007,2008 Andrei Nigmatulin */
fpm_array_free(&cleanups);
}
/* }}} */
-
-
/* $Id: fpm_cleanup.h,v 1.5 2008/05/24 17:38:47 anight Exp $ */
/* (c) 2007,2008 Andrei Nigmatulin */
};
#endif
-
-
/* $Id: fpm_clock.c,v 1.4 2008/09/18 23:19:59 anight Exp $ */
/* (c) 2007,2008 Andrei Nigmatulin */
-
/* $Id: fpm_clock.h,v 1.2 2008/05/24 17:38:47 anight Exp $ */
/* (c) 2007,2008 Andrei Nigmatulin */
-
/* $Id: fpm_conf.c,v 1.33.2.3 2008/12/13 03:50:29 anight Exp $ */
/* (c) 2007,2008 Andrei Nigmatulin */
-
/* $Id: fpm_conf.h,v 1.12.2.2 2008/12/13 03:46:49 anight Exp $ */
/* (c) 2007,2008 Andrei Nigmatulin */
int fpm_conf_unlink_pid();
#endif
-
#else
# define HAVE_FPM_LQ 0
#endif
-
-
/* $Id: fpm_env.c,v 1.15 2008/09/18 23:19:59 anight Exp $ */
/* (c) 2007,2008 Andrei Nigmatulin */
return 0;
}
/* }}} */
-
-
/* $Id: fpm_env.h,v 1.9 2008/09/18 23:19:59 anight Exp $ */
/* (c) 2007,2008 Andrei Nigmatulin */
#endif
#endif
-
-
/* $Id: fpm_events.c,v 1.21.2.2 2008/12/13 03:21:18 anight Exp $ */
/* (c) 2007,2008 Andrei Nigmatulin */
return 0;
}
/* }}} */
-
-
/* $Id: fpm_events.h,v 1.9 2008/05/24 17:38:47 anight Exp $ */
/* (c) 2007,2008 Andrei Nigmatulin */
-
/* $Id: fpm_status.c 312262 2011-06-18 17:41:56Z felipe $ */
/* (c) 2009 Jerome Loyet */
-
/* $Id: fpm_status.h 312263 2011-06-18 17:46:16Z felipe $ */
/* (c) 2009 Jerome Loyet */
-
/* $Id: fpm_php.c,v 1.22.2.4 2008/12/13 03:21:18 anight Exp $ */
/* (c) 2007,2008 Andrei Nigmatulin */
return NULL;
}
/* }}} */
-
-
/* $Id: fpm_php.h,v 1.10.2.1 2008/11/15 00:57:24 anight Exp $ */
/* (c) 2007,2008 Andrei Nigmatulin */
char* fpm_php_get_string_from_table(zend_string *table, char *key);
#endif
-
-
/* $Id: fpm_php_trace.c,v 1.27.2.1 2008/11/15 00:57:24 anight Exp $ */
/* (c) 2007,2008 Andrei Nigmatulin */
/* }}} */
#endif
-
-
/* $Id: fpm_php_trace.h,v 1.2 2008/05/24 17:38:47 anight Exp $ */
/* (c) 2007,2008 Andrei Nigmatulin */
void fpm_php_trace(struct fpm_child_s *);
#endif
-
-
/* $Id: fpm_process_ctl.c,v 1.19.2.2 2008/12/13 03:21:18 anight Exp $ */
/* (c) 2007,2008 Andrei Nigmatulin */
zlog(ZLOG_DEBUG, "[pool %s] got accept without idle child available .... I forked", wp->config->name);
}
/* }}} */
-
-
/* $Id: fpm_process_ctl.h,v 1.6 2008/07/20 21:33:10 anight Exp $ */
/* (c) 2007,2008 Andrei Nigmatulin */
};
#endif
-
-
/* $Id: fpm_request.c,v 1.9.2.1 2008/11/15 00:57:24 anight Exp $ */
/* (c) 2007,2008 Andrei Nigmatulin */
#ifdef HAVE_TIMES
-
/* $Id: fpm_request.h,v 1.4 2008/07/20 01:47:16 anight Exp $ */
/* (c) 2007,2008 Andrei Nigmatulin */
-
/* $Id: fpm_status.c 312399 2011-06-23 08:03:52Z fat $ */
/* (c) 2009 Jerome Loyet */
}
/* }}} */
#endif
-
-
/* $Id: fpm_status.h 312263 2011-06-18 17:46:16Z felipe $ */
/* (c) 2009 Jerome Loyet */
-
/* $Id: fpm_shm.c,v 1.3 2008/05/24 17:38:47 anight Exp $ */
/* (c) 2007,2008 Andrei Nigmatulin, Jerome Loyet */
-
/* $Id: fpm_shm.h,v 1.3 2008/05/24 17:38:47 anight Exp $ */
/* (c) 2007,2008 Andrei Nigmatulin */
size_t fpm_shm_get_size_allocated();
#endif
-
-
/* $Id: fpm_signals.c,v 1.24 2008/08/26 15:09:15 anight Exp $ */
/* (c) 2007,2008 Andrei Nigmatulin */
return sp[0];
}
/* }}} */
-
-
/* $Id: fpm_signals.h,v 1.5 2008/05/24 17:38:47 anight Exp $ */
/* (c) 2007,2008 Andrei Nigmatulin */
-
/* $Id: fpm_sockets.c,v 1.20.2.1 2008/12/13 03:21:18 anight Exp $ */
/* (c) 2007,2008 Andrei Nigmatulin */
-
/* $Id: fpm_sockets.h,v 1.12 2008/08/26 15:09:15 anight Exp $ */
/* (c) 2007,2008 Andrei Nigmatulin */
-
/* $Id$ */
/* (c) 2009 Jerome Loyet */
return 0;
}
/* }}} */
-
-
/* $Id$ */
/* (c) 2009 Jerome Loyet */
-
/* $Id: fpm_stdio.c,v 1.22.2.2 2008/12/13 03:32:24 anight Exp $ */
/* (c) 2007,2008 Andrei Nigmatulin */
return 0;
}
/* }}} */
-
-
/* $Id: fpm_stdio.h,v 1.9 2008/05/24 17:38:47 anight Exp $ */
/* (c) 2007,2008 Andrei Nigmatulin */
int fpm_stdio_open_error_log(int reopen);
#endif
-
-
/* $Id: fpm_str.h,v 1.3 2008/05/24 17:38:47 anight Exp $ */
/* (c) 2007,2008 Andrei Nigmatulin */
int fpm_systemd_conf();
#endif
-
-
/* $Id: fpm_trace.c,v 1.1 2008/07/20 20:59:00 anight Exp $ */
/* (c) 2007,2008 Andrei Nigmatulin */
}
}
/* }}} */
-
-
-
/* $Id: fpm_trace.h,v 1.3 2008/07/20 22:43:39 anight Exp $ */
/* (c) 2007,2008 Andrei Nigmatulin */
int fpm_trace_get_strz(char *buf, size_t sz, long addr);
#endif
-
-
/* $Id: fpm_trace_mach.c,v 1.4 2008/08/26 15:09:15 anight Exp $ */
/* (c) 2007,2008 Andrei Nigmatulin */
return 0;
}
/* }}} */
-
-
-
/* $Id: fpm_trace_pread.c,v 1.7 2008/08/26 15:09:15 anight Exp $ */
/* (c) 2007,2008 Andrei Nigmatulin */
return 0;
}
/* }}} */
-
-
/* $Id: fpm_trace_ptrace.c,v 1.7 2008/09/18 23:34:11 anight Exp $ */
/* (c) 2007,2008 Andrei Nigmatulin */
return 0;
}
/* }}} */
-
-
/* $Id: fpm_unix.c,v 1.25.2.1 2008/12/13 03:18:23 anight Exp $ */
/* (c) 2007,2008 Andrei Nigmatulin */
return 0;
}
/* }}} */
-
-
/* $Id: fpm_unix.h,v 1.8 2008/05/25 13:21:13 anight Exp $ */
/* (c) 2007,2008 Andrei Nigmatulin */
extern size_t fpm_pagesize;
#endif
-
-
/* $Id: fpm_worker_pool.c,v 1.15.2.1 2008/12/13 03:21:18 anight Exp $ */
/* (c) 2007,2008 Andrei Nigmatulin */
-
/* $Id: fpm_worker_pool.h,v 1.13 2008/08/26 15:09:15 anight Exp $ */
/* (c) 2007,2008 Andrei Nigmatulin */
extern struct fpm_worker_pool_s *fpm_worker_all_pools;
#endif
-
-
/* $Id: zlog.c,v 1.7 2008/05/22 21:08:32 anight Exp $ */
/* (c) 2004-2007 Andrei Nigmatulin */
-
/* $Id: zlog.h,v 1.7 2008/05/22 21:08:32 anight Exp $ */
/* (c) 2004-2007 Andrei Nigmatulin */
[Install]
WantedBy=multi-user.target
-
return false;
}
-}
\ No newline at end of file
+}
if (!FPM\Tester::findExecutable()) {
die("skip php-fpm binary not found");
-}
\ No newline at end of file
+}
true
);
}
-}
\ No newline at end of file
+}
print file_get_contents($accessLog);
}
}
-}
\ No newline at end of file
+}
https://www.litespeedtech.com/support/forum/
For bug report, please send bug report to bug [at] litespeedtech.com.
-
-
-
-
* vim600: sw=4 ts=4 fdm=marker
* vim<600: sw=4 ts=4
*/
-
-
{
return __sync_add_and_fetch(s_global_counter, cnt);
}
-
-
}
return s_initial_start_reqs > 0;
}
-
}
#endif
-#endif // LSCRIU_
\ No newline at end of file
+#endif // LSCRIU_
@$(top_builddir)/sapi/cli/php sapi/phpdbg/tests/run-tests.php --phpdbg sapi/phpdbg/phpdbg
.PHONY: clean-phpdbg test-phpdbg
-
ADD_FLAG("LIBS_PHPDBGS", "ws2_32.lib user32.lib");
ADD_FLAG("CFLAGS_PHPDBGS", "/D YY_NO_UNISTD_H");
}
-
void phpdbg_eol_convert(char **str, int *len);
#endif /* PHPDBG_EOL_H */
-
PHPDBG_API void phpdbg_close_socket(int sock);
#endif /* PHPDBG_IO_H */
-
PHPDBG_G(swd).fd = -1;
PHPDBG_G(sigio_watcher_thread) = INVALID_HANDLE_VALUE;
}
-
zend_bool phpdbg_active_sigsafe_mem(void) {
return !!PHPDBG_G(sigsafe_mem).mem;
}
-
-
#
# Build environment install
#
'int indexed array' => $index_array,
'associative array' => $assoc_array,
'nested arrays' => array('foo', $index_array, $assoc_array),
- );
\ No newline at end of file
+ );
'lowercase false' =>false,
'uppercase TRUE' =>TRUE,
'uppercase FALSE' =>FALSE,
- );
\ No newline at end of file
+ );
*
- */
\ No newline at end of file
+ */
/**
- *
\ No newline at end of file
+ *
'empty string SQ' => '',
'uppercase NULL' => NULL,
'lowercase null' => null,
- );
\ No newline at end of file
+ );
'float 12.3456789000e10' => 12.3456789000e10,
'float -12.3456789000e10' => -12.3456789000e10,
'float .5' => .5,
- );
\ No newline at end of file
+ );
'int 1' => 1,
'int 12345' => 12345,
'int -12345' => -2345,
- );
\ No newline at end of file
+ );
-}
\ No newline at end of file
+}
-foreach ( $variation_array as $var ) {
\ No newline at end of file
+foreach ( $variation_array as $var ) {
$variation_array = array(
'instance of classWithToString' => new classWithToString(),
'instance of classWithoutToString' => new classWithoutToString(),
- );
\ No newline at end of file
+ );
'string SQ' => 'string',
'mixed case string' => "sTrInG",
'heredoc' => $heredoc,
- );
\ No newline at end of file
+ );
}
}
-?>
\ No newline at end of file
+?>
'gtVariationContainerMethod' => 'testcase/gtVariationContainerMethod.php',
'gtVariationContainerFunction' => 'testcase/gtVariationContainerFunction.php',
);
-?>
\ No newline at end of file
+?>
}
}
-?>
\ No newline at end of file
+?>
}
}
-?>
\ No newline at end of file
+?>
return $this->constructorInitialisationStatements;
}
}
-?>
\ No newline at end of file
+?>
fclose($fh);
}
}
-?>
\ No newline at end of file
+?>
}
}
-?>
\ No newline at end of file
+?>
{
}
-?>
\ No newline at end of file
+?>
class gtUnknownSectionException extends RuntimeException
{
}
-?>
\ No newline at end of file
+?>
}
-?>
\ No newline at end of file
+?>
}
-?>
\ No newline at end of file
+?>
abstract public function getMessage();
}
-?>
\ No newline at end of file
+?>
}
}
}
-?>
\ No newline at end of file
+?>
}
}
-?>
\ No newline at end of file
+?>
return gtText::get('functionOrMethodNotSpecified');
}
}
-?>
\ No newline at end of file
+?>
return gtText::get('testTypeNotSpecified');
}
}
-?>
\ No newline at end of file
+?>
return gtText::get('unknownClass');
}
}
-?>
\ No newline at end of file
+?>
return gtText::get('unknownFunction');
}
}
-?>
\ No newline at end of file
+?>
$this->testCase = gtCodeSnippet::appendBlankLines(1, $this->testCase );
}
}
-?>
\ No newline at end of file
+?>
}
}
-?>
\ No newline at end of file
+?>
}
}
-?>
\ No newline at end of file
+?>
}
}
-?>
\ No newline at end of file
+?>
}
}
-?>
\ No newline at end of file
+?>
}
}
-?>
\ No newline at end of file
+?>
}
}
-?>
\ No newline at end of file
+?>
}
}
}
-?>
\ No newline at end of file
+?>
}
}
}
-?>
\ No newline at end of file
+?>
-
<?php
/**
}
}
-?>
\ No newline at end of file
+?>
}
}
-?>
\ No newline at end of file
+?>
}
-?>
\ No newline at end of file
+?>
-
Please supply a function or method name to be tested.
-
-
You have given a class name but not supplied a method name to test.
The method name is required.
-
-
Please specify basic, error or variation tests.
-
-
The class name is not a valid PHP class name.
Check that the extension containing the class is loaded.
-
-
The function name is not a valid PHP function name.
Check that the extension containing the function is loaded.
-
-
The method name is not a valid PHP method name.
Check that the extension containing the method is loaded.
-
$this->assertTrue(is_string($fs));
}
}
-?>
\ No newline at end of file
+?>
}
}
-?>
\ No newline at end of file
+?>
$this->assertEquals($array[2], '}');
}
}
-?>
\ No newline at end of file
+?>
$clo->parse(array('generate-phpt.php', '-f'));
}
}
-?>
\ No newline at end of file
+?>
}
}
-?>
\ No newline at end of file
+?>
$this->assertTrue(is_string($fs));
}
}
-?>
\ No newline at end of file
+?>
}
}
-?>
\ No newline at end of file
+?>
}
}
-?>
\ No newline at end of file
+?>
$this->assertEquals($ch->getMessage(), gtText::get('functionOrMethodNotSpecified'));
}
}
-?>
\ No newline at end of file
+?>
$this->assertEquals($ch->getMessage(), gtText::get('testTypeNotSpecified'));
}
}
-?>
\ No newline at end of file
+?>
}
}
-?>
\ No newline at end of file
+?>
$this->assertEquals($ch->getMessage(), gtText::get('unknownFunction'));
}
}
-?>
\ No newline at end of file
+?>
$this->assertEquals($ch->getMessage(), gtText::get('unknownMethod'));
}
}
-?>
\ No newline at end of file
+?>
}
-?>
\ No newline at end of file
+?>
}
}
-?>
\ No newline at end of file
+?>
}
}
-?>
\ No newline at end of file
+?>
}
}
-?>
\ No newline at end of file
+?>
*/
);
-?>
\ No newline at end of file
+?>
while ($until > microtime(TRUE));
}
-
return;
}
test('test', 9223372036854775808, 'test');
-
}
}
if ($success) echo "OK";
-
#!/bin/bash
-export PDO_PGSQL_TEST_DSN='pgsql:host=localhost port=5432 dbname=test user=postgres password='
\ No newline at end of file
+export PDO_PGSQL_TEST_DSN='pgsql:host=localhost port=5432 dbname=test user=postgres password='
#!/bin/bash
echo '
<?php $conn_str .= " user=postgres"; ?>' >> "./ext/pgsql/tests/config.inc"
-psql -c 'create database test;' -U postgres
\ No newline at end of file
+psql -c 'create database test;' -U postgres
@echo Registering event source with syslog (requires admin rights)
@echo It's okay for this step to fail:
-$(PHP_PREFIX)\php.exe -n -dextension_dir=$(PHP_PREFIX) win32/build/registersyslog.php $(PHP_PREFIX)\$(PHPDLL)
-
!endif
install: build-headers build-bins
-
B.WriteLine("@echo off");
B.WriteLine("cscript /nologo configure.js %*");
-
ARG_WITH("test-ini-ext-exclude", "Comma separated list of shared extensions to \
be excluded from the test.ini", "no");
-
ARG_WITH("codegen-arch", "Architecture for code generation", "no");
toolset_setup_codegen_arch();
-
ADD_FLAG(ldflags_name, "/libpath:\"" + get_clang_lib_dir() + "\\windows\"");
}
}
-
echo Now run 'configure --help'
)
SET PHP_BUILDCONF_PATH=
-
Language=English
%1 %2
.
-
-
#include <stdio.h>
#include <windows.h>
-
/*****************************************************************************
* *
* sys/param.c *