Home
last modified time | relevance | path

Searched refs:s2 (Results 1 – 25 of 87) sorted by relevance

1234

/php-src/ext/mbstring/tests/
H A Dsimpletest.phpt15 $s2 = "����ʸ����Ϣ�뤵��Ƥ���Ϥ���";
18 echo "echo: ".$s1.$s2."\n";
19 print("print: ".$s1.$s2."\n");
20 printf("printf: %s%s\n",$s1, $s2);
21 echo sprintf("sprintf: %s%s\n",$s1, $s2);
24 $s3 = $s1.$s2."\n";
H A Dmb_convert_variables.phpt46 $s2 = $euc_jp;
50 echo bin2hex("$s1$s2$s3"), "\n"; // Converted to EUC-JP
54 $a = array($s3, $s2, $s1);
60 $a = array($s1, $s2, $s3);
71 public $s2;
79 $this->s2 = $euc_jp;
87 public $s2;
95 $this->s2 = $euc_jp;
116 $s2 = $euc_jp;
118 $a = array($s1, $s2, $s3);
[all …]
H A Dcommon.inc9 's2' => 'English Text'
15 public $s2 = 'English Text';
/php-src/Zend/
H A Dzend_config.w32.h44 #define strcasecmp(s1, s2) _stricmp(s1, s2) argument
45 #define strncasecmp(s1, s2, n) _strnicmp(s1, s2, n) argument
H A Dzend_string.h94 #define ZSTR_GET_COPYABLE_CONCAT_PROPERTIES_BOTH(s1, s2) (GC_FLAGS(s1) & GC_FLAGS(s2) & ZSTR_COPYAB… in END_EXTERN_C() argument
370 return ZSTR_LEN(s1) == s2_length && !memcmp(ZSTR_VAL(s1), s2, s2_length); in zend_string_equals_cstr()
375 ZEND_API bool ZEND_FASTCALL zend_string_equal_val(const zend_string *s1, const zend_string *s2);
378 static zend_always_inline bool zend_string_equal_val(const zend_string *s1, const zend_string *s2) in END_EXTERN_C()
380 return !memcmp(ZSTR_VAL(s1), ZSTR_VAL(s2), ZSTR_LEN(s1)); in END_EXTERN_C()
384 …tic zend_always_inline bool zend_string_equal_content(const zend_string *s1, const zend_string *s2)
386 return ZSTR_LEN(s1) == ZSTR_LEN(s2) && zend_string_equal_val(s1, s2);
389 static zend_always_inline bool zend_string_equals(const zend_string *s1, const zend_string *s2) in zend_string_equals() argument
391 return s1 == s2 || zend_string_equal_content(s1, s2); in zend_string_equals()
394 #define zend_string_equals_ci(s1, s2) \ argument
[all …]
/php-src/ext/reflection/tests/
H A Dbug79062.phpt13 private $s2 = <<<'STRING'
24 $s2 = $ref->getProperty('s2');
25 var_dump($s2->getDocComment());
28 var_dump($s2->getDocComment());
/php-src/ext/phar/
H A Dmakestub.php29 $s2 = substr($s, strlen($s1) + strlen('index.php')); variable
30 $s2 = substr($s2, 0, strpos($s2, 'XXXX')); variable
31 $s3 = substr($s, strlen($s2) + 4 + strlen($s1) + strlen('index.php'));
84 $stub .= "\tstatic const char newstub2[] = \"" . $s2 . "\";
/php-src/ext/standard/tests/file/
H A Dfclose_variation1.phpt7 $s2 = $s;
8 separate_zval($s2);
11 echo fread($s2, strlen("<?php"));
/php-src/Zend/tests/
H A Dself_mod.phpt8 $s2 = "45345some";
20 $s2 %= 33;
21 var_dump($s2);
H A Dshift_001.phpt8 $s2 = "45345some";
20 $s2 <<= 3;
21 var_dump($s2);
H A Dshift_002.phpt8 $s2 = "45345some";
20 $s2 >>= 3;
21 var_dump($s2);
H A Dself_and.phpt8 $s2 = "45345some";
22 $s2 &= 33;
23 var_dump($s2);
H A Dself_or.phpt8 $s2 = "45345some";
22 $s2 |= 33;
23 var_dump($s2);
H A Dself_xor.phpt8 $s2 = "45345some";
22 $s2 ^= 33;
23 var_dump($s2);
H A Dadd_006.phpt10 $s2 = "876222numeric";
20 $c = $i + $s2;
36 $c = $s2 + $i;
H A Dnot_001.phpt9 $s2 = "some";
14 $s1 = ~$s2;
/php-src/ext/spl/tests/
H A Dbug45826.phpt15 $s2 = $o->serialize();
17 var_dump($s2);
25 $o2->unserialize($s2);
32 unset($o,$x,$s1,$s2,$o1,$o2);
53 $s2 = $o->__serialize();
55 var_dump($s2);
63 $o2->__unserialize($s2);
/php-src/ext/soap/tests/interop/Round4/GroupH/
H A Dround4_groupH_complex_rpcenc.inc16 function echoMultipleFaults1($which, $s1, $s2) {
18 …return new SoapFault("Server", "Fault in response to 'echoMultipleFaults1'.", null, $s2, "ComplexF…
24 function echoMultipleFaults2($which, $s1, $s2, $s3) {
26 …return new SoapFault("Server", "Fault in response to 'echoMultipleFaults2'.", null, $s2, "ComplexF…
/php-src/ext/opcache/tests/opt/
H A Ddce_001.phpt14 function foo(string $s1, string $s2, string $s3, string $s4) {
15 $x = ($s1 . $s2) . ($s3 . $s4);
32 0001 CV1($s2) = RECV 2
/php-src/ext/standard/tests/strings/
H A Dhtmlspecialchars_basic.phpt8 $s2 = "&&abc<>\"&\n";
14 echo "Test 2: " . htmlspecialchars ($s2);
19 echo "Test 7: " . htmlspecialchars ($s2,ENT_NOQUOTES);
24 echo "Test 12: " . htmlspecialchars ($s2,ENT_COMPAT);
29 echo "Test 17: " . htmlspecialchars ($s2,ENT_QUOTES);
36 echo "Test 22: " . htmlspecialchars ($s2,ENT_COMPAT, "ISO-8859-1");
42 $s2 = "&quot;&amp;123&lt;456&quot;\n";
45 echo "Test 26: " . htmlspecialchars ($s2,ENT_NOQUOTES, "ISO-8859-1", false);
50 echo "Test 29: " . htmlspecialchars ($s2, ENT_NOQUOTES, "ISO-8859-1", true);
/php-src/ext/standard/tests/array/
H A Darray_sum.phpt14 $s2 = array_sum($b);
15 var_dump($s1, $s2);
/php-src/ext/fileinfo/libmagic/
H A Dstrcasestr.c47 _strncasecmp(const char *s1, const char *s2, size_t n) in _strncasecmp() argument
51 *us2 = (const unsigned char *)s2; in _strncasecmp()
/php-src/ext/random/tests/
H A Dengines.inc54 private int $s2,
70 $this->s2 ^= $this->s0;
72 $this->s1 ^= $this->s2;
75 $this->s2 ^= $t;
/php-src/ext/zend_test/tests/
H A Dstrings_marked_as_utf8.phpt33 $s2 = "o";
34 $s = $s1 . $s2;
40 $s2 = "o";
41 $s = $s1 . $s2 . $s2;
66 $s2 = "";
67 $s = $s1 . $s2;
70 $s2 = "";
71 $s = $s2 . $s1;
H A Dstrings_not_marked_as_utf8.phpt28 $s2 = "o";
29 $s = $s1 . $s2;
35 $s2 = "o";
36 $s = $s1 . $s2 . $non_utf8;
55 $s2 = "";
56 $s = $s1 . $s2;
60 $s2 = "";
61 $s = $s2 . $s1;

Completed in 23 milliseconds

1234