Lines Matching refs:strcmp
2 strcmp() function
26 echo "- strcmp of '$str1_arr[$i]' and '$str1_arr[$j]' is => ";
27 var_dump(strcmp($str1_arr[$i], $str1_arr[$j]));
55 var_dump(strcmp("$obj_string1", "$obj_string2"));
60 var_dump(strcmp("hello?world,!$%**()%**[][[[&@#~!", "$str_arr[1]"));
61 var_dump(strcmp("hello?world,!$%**()%**[][[[&@#~!", "$str_arr[2]"));
76 var_dump(strcmp($string, $string));
77 var_dump(strcmp($string, "xyz0123456789"));
78 var_dump(strcmp($string, "&&&"));
83 var_dump(strcmp($str, "\0"));
84 var_dump(strcmp($str, "0"));
91 var_dump(strcmp("Hello, world", "$str"));
92 var_dump(strcmp("Hello, world'S", "$str'S"));
93 var_dump(strcmp("Hello, worldS", "$strS"));
96 var_dump(strcmp("Hello, worldS", "${str}S"));
97 var_dump(strcmp("Hello, worldS", "{$str}S"));
100 var_dump(strcmp("Hello\0world", "Hello"));
101 var_dump(strcmp("Hello\0world", "Helloworld"));
102 var_dump(strcmp("\x0", "\0"));
103 var_dump(strcmp("\000", "\0"));
104 var_dump(strcmp("\x00", ""));
109 var_dump(strcmp(10.55555555555555555555555555, 10.5555555556)); // int(0)
110 var_dump(strcmp(10.55555555555555555555555555, 10.555555556)); // int(-1)
111 var_dump(strcmp(10.55555555595555555555555555, 10.555555556)); // int(0)
130 - strcmp of 'a' and 'a' is => int(0)
131 - strcmp of 'a' and 'A' is => int(%d)
132 - strcmp of 'a' and 'a' is => int(0)
133 - strcmp of 'a' and 'A' is => int(%d)
134 - strcmp of 'a' and '�' is => int(-%d)
135 - strcmp of 'a' and '�' is => int(-%d)
136 - strcmp of 'a' and '%0' is => int(%d)
139 - strcmp of 'A' and 'a' is => int(-%d)
140 - strcmp of 'A' and 'A' is => int(0)
141 - strcmp of 'A' and 'a' is => int(-%d)
142 - strcmp of 'A' and 'A' is => int(0)
143 - strcmp of 'A' and '�' is => int(-%d)
144 - strcmp of 'A' and '�' is => int(-%d)
145 - strcmp of 'A' and '%0' is => int(%d)
148 - strcmp of 'a' and 'a' is => int(0)
149 - strcmp of 'a' and 'A' is => int(%d)
150 - strcmp of 'a' and 'a' is => int(0)
151 - strcmp of 'a' and 'A' is => int(%d)
152 - strcmp of 'a' and '�' is => int(-%d)
153 - strcmp of 'a' and '�' is => int(-%d)
154 - strcmp of 'a' and '%0' is => int(%d)
157 - strcmp of 'A' and 'a' is => int(-%d)
158 - strcmp of 'A' and 'A' is => int(0)
159 - strcmp of 'A' and 'a' is => int(-%d)
160 - strcmp of 'A' and 'A' is => int(0)
161 - strcmp of 'A' and '�' is => int(-%d)
162 - strcmp of 'A' and '�' is => int(-%d)
163 - strcmp of 'A' and '%0' is => int(%d)
166 - strcmp of '�' and 'a' is => int(%d)
167 - strcmp of '�' and 'A' is => int(%d)
168 - strcmp of '�' and 'a' is => int(%d)
169 - strcmp of '�' and 'A' is => int(%d)
170 - strcmp of '�' and '�' is => int(0)
171 - strcmp of '�' and '�' is => int(-%d)
172 - strcmp of '�' and '%0' is => int(%d)
175 - strcmp of '�' and 'a' is => int(%d)
176 - strcmp of '�' and 'A' is => int(%d)
177 - strcmp of '�' and 'a' is => int(%d)
178 - strcmp of '�' and 'A' is => int(%d)
179 - strcmp of '�' and '�' is => int(%d)
180 - strcmp of '�' and '�' is => int(0)
181 - strcmp of '�' and '%0' is => int(%d)
184 - strcmp of '%0' and 'a' is => int(-%d)
185 - strcmp of '%0' and 'A' is => int(-%d)
186 - strcmp of '%0' and 'a' is => int(-%d)
187 - strcmp of '%0' and 'A' is => int(-%d)
188 - strcmp of '%0' and '�' is => int(-%d)
189 - strcmp of '%0' and '�' is => int(-%d)
190 - strcmp of '%0' and '%0' is => int(0)
207 - strcmp of 'acc' and 'acc' is => int(0)
208 - strcmp of 'acc' and 'Acc' is => int(%d)
209 - strcmp of 'acc' and 'ac' is => int(%d)
210 - strcmp of 'acc' and 'accc' is => int(-%d)
211 - strcmp of 'acc' and 'acd' is => int(-%d)
212 - strcmp of 'acc' and '?acc' is => int(%d)
213 - strcmp of 'acc' and 'acc!' is => int(-%d)
214 - strcmp of 'acc' and '$!acc' is => int(%d)
215 - strcmp of 'acc' and ';acc' is => int(%d)
218 - strcmp of 'Acc' and 'acc' is => int(-%d)
219 - strcmp of 'Acc' and 'Acc' is => int(0)
220 - strcmp of 'Acc' and 'ac' is => int(-%d)
221 - strcmp of 'Acc' and 'accc' is => int(-%d)
222 - strcmp of 'Acc' and 'acd' is => int(-%d)
223 - strcmp of 'Acc' and '?acc' is => int(%d)
224 - strcmp of 'Acc' and 'acc!' is => int(-%d)
225 - strcmp of 'Acc' and '$!acc' is => int(%d)
226 - strcmp of 'Acc' and ';acc' is => int(%d)
229 - strcmp of 'ac' and 'acc' is => int(-%d)
230 - strcmp of 'ac' and 'Acc' is => int(%d)
231 - strcmp of 'ac' and 'ac' is => int(0)
232 - strcmp of 'ac' and 'accc' is => int(-%d)
233 - strcmp of 'ac' and 'acd' is => int(-%d)
234 - strcmp of 'ac' and '?acc' is => int(%d)
235 - strcmp of 'ac' and 'acc!' is => int(-%d)
236 - strcmp of 'ac' and '$!acc' is => int(%d)
237 - strcmp of 'ac' and ';acc' is => int(%d)
240 - strcmp of 'accc' and 'acc' is => int(%d)
241 - strcmp of 'accc' and 'Acc' is => int(%d)
242 - strcmp of 'accc' and 'ac' is => int(%d)
243 - strcmp of 'accc' and 'accc' is => int(0)
244 - strcmp of 'accc' and 'acd' is => int(-%d)
245 - strcmp of 'accc' and '?acc' is => int(%d)
246 - strcmp of 'accc' and 'acc!' is => int(%d)
247 - strcmp of 'accc' and '$!acc' is => int(%d)
248 - strcmp of 'accc' and ';acc' is => int(%d)
251 - strcmp of 'acd' and 'acc' is => int(%d)
252 - strcmp of 'acd' and 'Acc' is => int(%d)
253 - strcmp of 'acd' and 'ac' is => int(%d)
254 - strcmp of 'acd' and 'accc' is => int(%d)
255 - strcmp of 'acd' and 'acd' is => int(0)
256 - strcmp of 'acd' and '?acc' is => int(%d)
257 - strcmp of 'acd' and 'acc!' is => int(%d)
258 - strcmp of 'acd' and '$!acc' is => int(%d)
259 - strcmp of 'acd' and ';acc' is => int(%d)
262 - strcmp of '?acc' and 'acc' is => int(-%d)
263 - strcmp of '?acc' and 'Acc' is => int(-%d)
264 - strcmp of '?acc' and 'ac' is => int(-%d)
265 - strcmp of '?acc' and 'accc' is => int(-%d)
266 - strcmp of '?acc' and 'acd' is => int(-%d)
267 - strcmp of '?acc' and '?acc' is => int(0)
268 - strcmp of '?acc' and 'acc!' is => int(-%d)
269 - strcmp of '?acc' and '$!acc' is => int(%d)
270 - strcmp of '?acc' and ';acc' is => int(%d)
273 - strcmp of 'acc!' and 'acc' is => int(%d)
274 - strcmp of 'acc!' and 'Acc' is => int(%d)
275 - strcmp of 'acc!' and 'ac' is => int(%d)
276 - strcmp of 'acc!' and 'accc' is => int(-%d)
277 - strcmp of 'acc!' and 'acd' is => int(-%d)
278 - strcmp of 'acc!' and '?acc' is => int(%d)
279 - strcmp of 'acc!' and 'acc!' is => int(0)
280 - strcmp of 'acc!' and '$!acc' is => int(%d)
281 - strcmp of 'acc!' and ';acc' is => int(%d)
284 - strcmp of '$!acc' and 'acc' is => int(-%d)
285 - strcmp of '$!acc' and 'Acc' is => int(-%d)
286 - strcmp of '$!acc' and 'ac' is => int(-%d)
287 - strcmp of '$!acc' and 'accc' is => int(-%d)
288 - strcmp of '$!acc' and 'acd' is => int(-%d)
289 - strcmp of '$!acc' and '?acc' is => int(-%d)
290 - strcmp of '$!acc' and 'acc!' is => int(-%d)
291 - strcmp of '$!acc' and '$!acc' is => int(0)
292 - strcmp of '$!acc' and ';acc' is => int(-%d)
295 - strcmp of ';acc' and 'acc' is => int(-%d)
296 - strcmp of ';acc' and 'Acc' is => int(-%d)
297 - strcmp of ';acc' and 'ac' is => int(-%d)
298 - strcmp of ';acc' and 'accc' is => int(-%d)
299 - strcmp of ';acc' and 'acd' is => int(-%d)
300 - strcmp of ';acc' and '?acc' is => int(-%d)
301 - strcmp of ';acc' and 'acc!' is => int(-%d)
302 - strcmp of ';acc' and '$!acc' is => int(%d)
303 - strcmp of ';acc' and ';acc' is => int(0)
320 - strcmp of '1' and '1' is => int(0)
321 - strcmp of '1' and '0' is => int(%d)
322 - strcmp of '1' and '0' is => int(%d)
323 - strcmp of '1' and '-1' is => int(%d)
324 - strcmp of '1' and '-1' is => int(%d)
325 - strcmp of '1' and '' is => int(%d)
326 - strcmp of '1' and '1' is => int(0)
327 - strcmp of '1' and '' is => int(%d)
328 - strcmp of '1' and 'string' is => int(-%d)
331 - strcmp of '0' and '1' is => int(-%d)
332 - strcmp of '0' and '0' is => int(0)
333 - strcmp of '0' and '0' is => int(0)
334 - strcmp of '0' and '-1' is => int(%d)
335 - strcmp of '0' and '-1' is => int(%d)
336 - strcmp of '0' and '' is => int(%d)
337 - strcmp of '0' and '1' is => int(-%d)
338 - strcmp of '0' and '' is => int(%d)
339 - strcmp of '0' and 'string' is => int(-%d)
342 - strcmp of '0' and '1' is => int(-%d)
343 - strcmp of '0' and '0' is => int(0)
344 - strcmp of '0' and '0' is => int(0)
345 - strcmp of '0' and '-1' is => int(%d)
346 - strcmp of '0' and '-1' is => int(%d)
347 - strcmp of '0' and '' is => int(%d)
348 - strcmp of '0' and '1' is => int(-%d)
349 - strcmp of '0' and '' is => int(%d)
350 - strcmp of '0' and 'string' is => int(-%d)
353 - strcmp of '-1' and '1' is => int(-%d)
354 - strcmp of '-1' and '0' is => int(-%d)
355 - strcmp of '-1' and '0' is => int(-%d)
356 - strcmp of '-1' and '-1' is => int(0)
357 - strcmp of '-1' and '-1' is => int(0)
358 - strcmp of '-1' and '' is => int(%d)
359 - strcmp of '-1' and '1' is => int(-%d)
360 - strcmp of '-1' and '' is => int(%d)
361 - strcmp of '-1' and 'string' is => int(-%d)
364 - strcmp of '-1' and '1' is => int(-%d)
365 - strcmp of '-1' and '0' is => int(-%d)
366 - strcmp of '-1' and '0' is => int(-%d)
367 - strcmp of '-1' and '-1' is => int(0)
368 - strcmp of '-1' and '-1' is => int(0)
369 - strcmp of '-1' and '' is => int(%d)
370 - strcmp of '-1' and '1' is => int(-%d)
371 - strcmp of '-1' and '' is => int(%d)
372 - strcmp of '-1' and 'string' is => int(-%d)
375 - strcmp of '' and '1' is => int(-%d)
376 - strcmp of '' and '0' is => int(-%d)
377 - strcmp of '' and '0' is => int(-%d)
378 - strcmp of '' and '-1' is => int(-%d)
379 - strcmp of '' and '-1' is => int(-%d)
380 - strcmp of '' and '' is => int(0)
381 - strcmp of '' and '1' is => int(-%d)
382 - strcmp of '' and '' is => int(0)
383 - strcmp of '' and 'string' is => int(-%d)
386 - strcmp of '1' and '1' is => int(0)
387 - strcmp of '1' and '0' is => int(%d)
388 - strcmp of '1' and '0' is => int(%d)
389 - strcmp of '1' and '-1' is => int(%d)
390 - strcmp of '1' and '-1' is => int(%d)
391 - strcmp of '1' and '' is => int(%d)
392 - strcmp of '1' and '1' is => int(0)
393 - strcmp of '1' and '' is => int(%d)
394 - strcmp of '1' and 'string' is => int(-%d)
397 - strcmp of '' and '1' is => int(-%d)
398 - strcmp of '' and '0' is => int(-%d)
399 - strcmp of '' and '0' is => int(-%d)
400 - strcmp of '' and '-1' is => int(-%d)
401 - strcmp of '' and '-1' is => int(-%d)
402 - strcmp of '' and '' is => int(0)
403 - strcmp of '' and '1' is => int(-%d)
404 - strcmp of '' and '' is => int(0)
405 - strcmp of '' and 'string' is => int(-%d)
408 - strcmp of 'string' and '1' is => int(%d)
409 - strcmp of 'string' and '0' is => int(%d)
410 - strcmp of 'string' and '0' is => int(%d)
411 - strcmp of 'string' and '-1' is => int(%d)
412 - strcmp of 'string' and '-1' is => int(%d)
413 - strcmp of 'string' and '' is => int(%d)
414 - strcmp of 'string' and '1' is => int(%d)
415 - strcmp of 'string' and '' is => int(%d)
416 - strcmp of 'string' and 'string' is => int(0)
433 - strcmp of '10.5' and '10.5' is => int(0)
434 - strcmp of '10.5' and '1.5' is => int(%d)
435 - strcmp of '10.5' and '9.5' is => int(-%d)
436 - strcmp of '10.5' and '11.5' is => int(-%d)
437 - strcmp of '10.5' and '100.5' is => int(-%d)
438 - strcmp of '10.5' and '105' is => int(-%d)
439 - strcmp of '10.5' and '-10.5' is => int(%d)
440 - strcmp of '10.5' and '10' is => int(%d)
441 - strcmp of '10.5' and '0.5' is => int(%d)
444 - strcmp of '1.5' and '10.5' is => int(-%d)
445 - strcmp of '1.5' and '1.5' is => int(0)
446 - strcmp of '1.5' and '9.5' is => int(-%d)
447 - strcmp of '1.5' and '11.5' is => int(-%d)
448 - strcmp of '1.5' and '100.5' is => int(-%d)
449 - strcmp of '1.5' and '105' is => int(-%d)
450 - strcmp of '1.5' and '-10.5' is => int(%d)
451 - strcmp of '1.5' and '10' is => int(-%d)
452 - strcmp of '1.5' and '0.5' is => int(%d)
455 - strcmp of '9.5' and '10.5' is => int(%d)
456 - strcmp of '9.5' and '1.5' is => int(%d)
457 - strcmp of '9.5' and '9.5' is => int(0)
458 - strcmp of '9.5' and '11.5' is => int(%d)
459 - strcmp of '9.5' and '100.5' is => int(%d)
460 - strcmp of '9.5' and '105' is => int(%d)
461 - strcmp of '9.5' and '-10.5' is => int(%d)
462 - strcmp of '9.5' and '10' is => int(%d)
463 - strcmp of '9.5' and '0.5' is => int(%d)
466 - strcmp of '11.5' and '10.5' is => int(%d)
467 - strcmp of '11.5' and '1.5' is => int(%d)
468 - strcmp of '11.5' and '9.5' is => int(-%d)
469 - strcmp of '11.5' and '11.5' is => int(0)
470 - strcmp of '11.5' and '100.5' is => int(%d)
471 - strcmp of '11.5' and '105' is => int(%d)
472 - strcmp of '11.5' and '-10.5' is => int(%d)
473 - strcmp of '11.5' and '10' is => int(%d)
474 - strcmp of '11.5' and '0.5' is => int(%d)
477 - strcmp of '100.5' and '10.5' is => int(%d)
478 - strcmp of '100.5' and '1.5' is => int(%d)
479 - strcmp of '100.5' and '9.5' is => int(-%d)
480 - strcmp of '100.5' and '11.5' is => int(-%d)
481 - strcmp of '100.5' and '100.5' is => int(0)
482 - strcmp of '100.5' and '105' is => int(-%d)
483 - strcmp of '100.5' and '-10.5' is => int(%d)
484 - strcmp of '100.5' and '10' is => int(%d)
485 - strcmp of '100.5' and '0.5' is => int(%d)
488 - strcmp of '105' and '10.5' is => int(%d)
489 - strcmp of '105' and '1.5' is => int(%d)
490 - strcmp of '105' and '9.5' is => int(-%d)
491 - strcmp of '105' and '11.5' is => int(-%d)
492 - strcmp of '105' and '100.5' is => int(%d)
493 - strcmp of '105' and '105' is => int(0)
494 - strcmp of '105' and '-10.5' is => int(%d)
495 - strcmp of '105' and '10' is => int(%d)
496 - strcmp of '105' and '0.5' is => int(%d)
499 - strcmp of '-10.5' and '10.5' is => int(-%d)
500 - strcmp of '-10.5' and '1.5' is => int(-%d)
501 - strcmp of '-10.5' and '9.5' is => int(-%d)
502 - strcmp of '-10.5' and '11.5' is => int(-%d)
503 - strcmp of '-10.5' and '100.5' is => int(-%d)
504 - strcmp of '-10.5' and '105' is => int(-%d)
505 - strcmp of '-10.5' and '-10.5' is => int(0)
506 - strcmp of '-10.5' and '10' is => int(-%d)
507 - strcmp of '-10.5' and '0.5' is => int(-%d)
510 - strcmp of '10' and '10.5' is => int(-%d)
511 - strcmp of '10' and '1.5' is => int(%d)
512 - strcmp of '10' and '9.5' is => int(-%d)
513 - strcmp of '10' and '11.5' is => int(-%d)
514 - strcmp of '10' and '100.5' is => int(-%d)
515 - strcmp of '10' and '105' is => int(-%d)
516 - strcmp of '10' and '-10.5' is => int(%d)
517 - strcmp of '10' and '10' is => int(0)
518 - strcmp of '10' and '0.5' is => int(%d)
521 - strcmp of '0.5' and '10.5' is => int(-%d)
522 - strcmp of '0.5' and '1.5' is => int(-%d)
523 - strcmp of '0.5' and '9.5' is => int(-%d)
524 - strcmp of '0.5' and '11.5' is => int(-%d)
525 - strcmp of '0.5' and '100.5' is => int(-%d)
526 - strcmp of '0.5' and '105' is => int(-%d)
527 - strcmp of '0.5' and '-10.5' is => int(%d)
528 - strcmp of '0.5' and '10' is => int(-%d)
529 - strcmp of '0.5' and '0.5' is => int(0)