Home
last modified time | relevance | path

Searched refs:step (Results 1 – 25 of 39) sorted by relevance

12

/PHP-8.0/ext/standard/tests/array/
H A Drange_errors.phpt10 echo "\n-- Testing ( (low < high) && (step = 0) ) --\n";
23 echo "\n\n-- Testing ( (low > high) && (step = 0) ) --\n";
36 echo "\n\n-- Testing ( (low < high) && (high-low < step) ) --\n";
43 echo "\n\n-- Testing ( (low > high) && (low-high < step) ) --\n";
86 foreach( $step_arr as $step ) {
88 var_dump( range( 1, 5, $step ) );
97 -- Testing ( (low < high) && (step = 0) ) --
98 range(): Argument #3 ($step) must not exceed the specified range
102 -- Testing ( (low > high) && (step = 0) ) --
107 -- Testing ( (low < high) && (high-low < step) ) --
[all …]
H A Drange.phpt39 echo "\n-- Passing step with Low and High --\n";
46 echo "\n-- Testing basic string with step --\n";
333 -- Passing step with Low and High --
431 -- Testing basic string with step --
H A Drange_variation.phpt618 range(): Argument #3 ($step) must be of type int|float, array given
/PHP-8.0/ext/standard/tests/streams/
H A Dproc_open_bug51800_right2.phpt27 $step = 1024;
30 fwrite(STDOUT, substr($data0, $i0, $step));
31 fwrite(STDERR, substr($data1, $i1, $step));
32 $i0 += $step;
33 $i1 += $step;
/PHP-8.0/Zend/tests/generators/
H A Dxrange.phpt6 function xrange($start, $end, $step = 1) {
7 for ($i = $start; $i <= $end; $i += $step) {
/PHP-8.0/sapi/fpm/tests/
H A Dbug74083-concurrent-reload.phpt42 $step = 1000;
44 for ($interval = 0; $interval < $max_interval; $interval += $step) {
52 echo "Reached interval $interval us with $step us steps\n";
H A Dbug76601-reload-child-signals.phpt53 $step = 1000;
55 for ($interval = 0; $interval < $max_interval; $interval += $step) {
63 echo "Reached interval $interval us with $step us steps\n";
/PHP-8.0/ext/pdo_sqlite/
H A Dsqlite_driver.stub.php11 …public function sqliteCreateAggregate(string $name, callable $step, callable $finalize, int $numAr… argument
H A Dsqlite_driver_arginfo.h13 ZEND_ARG_TYPE_INFO(0, step, IS_CALLABLE, 0)
H A Dphp_pdo_sqlite_int.h37 zval func, step, fini; member
H A Dsqlite_driver.c120 if (!Z_ISUNDEF(func->step)) { in pdo_sqlite_cleanup_callbacks()
121 zval_ptr_dtor(&func->step); in pdo_sqlite_cleanup_callbacks()
469 do_callback(&func->astep, &func->step, argc, argv, context, 1); in php_sqlite3_func_step_callback()
621 ZVAL_COPY(&func->step, &step_fci.function_name); in PHP_METHOD()
/PHP-8.0/sapi/cli/tests/
H A Dsapi_windows_set_ctrl_handler.phpt50 $max = 5000; $total = 0; $step = 100;
52 usleep($step);
53 $total += $step;
/PHP-8.0/ext/pdo_sqlite/tests/
H A Dpdo_sqlite_createaggregate_002.phpt23 PDO::sqliteCreateAggregate(): Argument #2 ($step) must be a valid callback, function "a" not found …
/PHP-8.0/sapi/phpdbg/
H A Dphpdbg_prompt.h35 PHPDBG_COMMAND(step);
/PHP-8.0/ext/sqlite3/
H A Dphp_sqlite3_structs.h55 zval func, step, fini; member
/PHP-8.0/ext/gd/tests/
H A Dimagegammacorrect_variation2.phpt2 Apply imagegammacorrect() to a step wedge
/PHP-8.0/ext/pcre/pcre2lib/
H A Dpcre2_jit_simd_inc.h107 int step, sljit_s32 dst_ind, sljit_s32 cmp1_ind, sljit_s32 cmp2_ind, sljit_s32 tmp_ind) in fast_forward_char_pair_sse2_compare() argument
113 SLJIT_ASSERT(step >= 0 && step <= 3); in fast_forward_char_pair_sse2_compare()
117 if (step == 0) in fast_forward_char_pair_sse2_compare()
131 if (step != 2) in fast_forward_char_pair_sse2_compare()
143 switch (step) in fast_forward_char_pair_sse2_compare()
/PHP-8.0/ext/snmp/
H A Dsnmp.c128 int step; member
436 if ((st & SNMP_CMD_SET) && objid_query->count > objid_query->step) { in php_snmp_internal()
464 …for (count = 0; objid_query->offset < objid_query->count && count < objid_query->step; objid_query… in php_snmp_internal()
603 …SNMP_CMD_GETNEXT) && response->errstat == SNMP_ERR_TOOBIG && objid_query->step > 1) { /* Answer wi… in php_snmp_internal()
604 …uery->offset = ((objid_query->offset > objid_query->step) ? (objid_query->offset - objid_query->st… in php_snmp_internal()
605 objid_query->step /= 2; in php_snmp_internal()
793 objid_query->step = objid_query->count; in php_snmp_parse_oid()
1257 objid_query.step = snmp_object->max_oids; in php_snmp()
/PHP-8.0/ext/standard/tests/file/windows_acls/
H A Dcommon.inc116 returns false. If the $perm_entry contains 'N' skip this step.
/PHP-8.0/ext/ldap/tests/
H A DREADME.md57 The next step is to go into the PHP-Source-directory. Configure and make the
/PHP-8.0/ext/pdo_mysql/tests/
H A Dpdo_mysql_stmt_unbuffered_2050.phpt41 PDO::query() will prepare and execute a statement in one step.
/PHP-8.0/docs/
H A Dmailinglist-rules.md60 2. Consider taking a step back from a very active thread now and then. Maybe
/PHP-8.0/ext/standard/
H A Darray.c2699 double __calc_size = ((start - end) / step) + 1; \
2727 double step = 1.0; local
2738 step = zval_get_double(zstep);
2741 if (step < 0.0) {
2742 step *= -1;
2750 zend_long lstep = (zend_long) step;
2815 if (low - high < step || step <= 0) {
2829 if (high - low < step || step <= 0) {
2856 if (step <= 0) {
2861 lstep = (zend_ulong)step;
[all …]
/PHP-8.0/main/streams/
H A Dstreams.c1453 int step = CHUNK_SIZE; in _php_stream_copy_to_mem() local
1500 max_len = MAX(ssbuf.sb.st_size - src->position, 0) + step; in _php_stream_copy_to_mem()
1502 max_len = step; in _php_stream_copy_to_mem()
1512 result = zend_string_extend(result, max_len + step, persistent); in _php_stream_copy_to_mem()
1513 max_len += step; in _php_stream_copy_to_mem()
/PHP-8.0/ext/pdo_odbc/tests/
H A Dlong_columns.phpt36 // 7. set the environment variable PDOTEST_DSN="odbc:<system dsn from step 5>" ex: SET PDOTEST_DSN=…

Completed in 67 milliseconds

12