Test: /ext/standard/tests/strings/str_replace.phpt - Version 7.4.3-dev    

There are 2 different diffs reported by users for this test.

Count Diff
7 (54%)
377+ string(179) "Hello, world,0120333.3445-1.234567 NULL TRUE FALSE[0x0]
379+ ?FOUND chr(0).chr(128).chr(234).chr(65).chr(255).chr(256)"
377- string(177) "Hello, world,0120333.3445-1.234567 NULL TRUE FALSE[0x0]
379- ?FOUND chr(0).chr(128).chr(234).chr(65).chr(255).chr(256)"
384+ string(179) "Hello, world,0120333.3445-1.234567 NULL TRUE FALSE[0x0]
386+ ?FOUND chr(0).chr(128).chr(234).chr(65).chr(255).chr(256)"
384- string(177) "Hello, world,0120333.3445-1.234567 NULL TRUE FALSE[0x0]
386- ?FOUND chr(0).chr(128).chr(234).chr(65).chr(255).chr(256)"
391+ string(184) "Hello, world,0120333.3445-1.234567 NULL TRUE FALSE[0x0]
393+ ?Hello, World chr(0).chr(128).chr(234).chr(65).chr(255).chr(256)"
391- string(182) "Hello, world,0120333.3445-1.234567 NULL TRUE FALSE[0x0]
393- ?Hello, World chr(0).chr(128).chr(234).chr(65).chr(255).chr(256)"
398+ string(193) "Hello, world,0120333.3445-1.234567 NULL TRUE FALSE[0x0]
400+ ?Hello, World chr(0).chr(128).chr(234).chr(65).chr(255).chr(256)"
398- string(191) "Hello, world,0120333.3445-1.234567 NULL TRUE FALSE[0x0]
400- ?Hello, World chr(0).chr(128).chr(234).chr(65).chr(255).chr(256)"
405+ string(184) "Hello, world,0120333.3445-1.234567 NULL TRUE FALSE[0x0]
407+ ?Hello, World chr(0).chr(128).chr(234).chr(65).chr(255).chr(256)"
405- string(182) "Hello, world,0120333.3445-1.234567 NULL TRUE FALSE[0x0]
407- ?Hello, World chr(0).chr(128).chr(234).chr(65).chr(255).chr(256)"
412+ string(193) "Hello, world,0120333.3445-1.234567 NULL TRUE FALSE[0x0]
414+ ?Hello, World chr(0).chr(128).chr(234).chr(65).chr(255).chr(256)"
412- string(191) "Hello, world,0120333.3445-1.234567 NULL TRUE FALSE[0x0]
414- ?Hello, World chr(0).chr(128).chr(234).chr(65).chr(255).chr(256)"
419+ string(193) "Hello, world,0120333.3445-1.234567 NULL TRUE FALSE[0x0]
421+ ?Hello, World chr(0).chr(128).chr(234).chr(65).chr(255).chr(256)"
419- string(191) "Hello, world,0120333.3445-1.234567 NULL TRUE FALSE[0x0]
421- ?Hello, World chr(0).chr(128).chr(234).chr(65).chr(255).chr(256)"
426+ string(191) "Hello, world,0120333.3445FOUND67 NULL TRUE FALSE[0x0]
428+ ?Hello, World chr(0).chr(128).chr(234).chr(65).chr(255).chr(256)"
426- string(189) "Hello, world,0120333.3445FOUND67 NULL TRUE FALSE[0x0]
428- ?Hello, World chr(0).chr(128).chr(234).chr(65).chr(255).chr(256)"
433+ string(193) "Hello, world,0120333.3445-1.234567 NULL TRUE FALSE[0x0]
435+ ?Hello, World chr(0).chr(128).chr(234).chr(65).chr(255).chr(256)"
433- string(191) "Hello, world,0120333.3445-1.234567 NULL TRUE FALSE[0x0]
435- ?Hello, World chr(0).chr(128).chr(234).chr(65).chr(255).chr(256)"
440+ string(195) "Hello, world,0120333.3445-1.234567 NULL TRUE FALSE[0x0]
442+ ?Hello, World chr(0).chr(128).chr(234).chr(65).chr(255).chr(256)"
440- string(193) "Hello, world,0120333.3445-1.234567 NULL TRUE FALSE[0x0]
442- ?Hello, World chr(0).chr(128).chr(234).chr(65).chr(255).chr(256)"
447+ string(195) "Hello, world,0120333.3445-1.234567 NULL TRUE FALSE[0x0]
449+ ?Hello, World chr(0).chr(128).chr(234).chr(65).chr(255).chr(256)"
447- string(193) "Hello, world,0120333.3445-1.234567 NULL TRUE FALSE[0x0]
449- ?Hello, World chr(0).chr(128).chr(234).chr(65).chr(255).chr(256)"
454+ string(193) "Hello, world,0120333.3445-1.234567 NULL TRUE FALSE[0x0]
456+ ?Hello, World chr(0).chr(128).chr(234).chr(65).chr(255).chr(256)"
454- string(191) "Hello, world,0120333.3445-1.234567 NULL TRUE FALSE[0x0]
456- ?Hello, World chr(0).chr(128).chr(234).chr(65).chr(255).chr(256)"
461+ string(194) "Hello, world,0120333.3445-1.234567 FOUND TRUE FALSE[0x0]
463+ ?Hello, World chr(0).chr(128).chr(234).chr(65).chr(255).chr(256)"
461- string(192) "Hello, world,0120333.3445-1.234567 FOUND TRUE FALSE[0x0]
463- ?Hello, World chr(0).chr(128).chr(234).chr(65).chr(255).chr(256)"
468+ string(209) "Hello, world,FOUND12FOUND333.3445-1.234567 NULL TRUE FALSE[0x0]
470+ ?Hello, World chr(FOUND).chr(128).chr(234).chr(65).chr(255).chr(256)"
468- string(207) "Hello, world,FOUND12FOUND333.3445-1.234567 NULL TRUE FALSE[0x0]
470- ?Hello, World chr(FOUND).chr(128).chr(234).chr(65).chr(255).chr(256)"
475+ string(209) "Hello, world,FOUND12FOUND333.3445-1.234567 NULL TRUE FALSE[0x0]
477+ ?Hello, World chr(FOUND).chr(128).chr(234).chr(65).chr(255).chr(256)"
475- string(207) "Hello, world,FOUND12FOUND333.3445-1.234567 NULL TRUE FALSE[0x0]
477- ?Hello, World chr(FOUND).chr(128).chr(234).chr(65).chr(255).chr(256)"
482+ string(193) "Hello, world,0120333.3445-1.234567 NULL TRUE FALSE[0x0]
484+ ?Hello, World chr(0).chr(128).chr(234).chr(65).chr(255).chr(256)"
482- string(191) "Hello, world,0120333.3445-1.234567 NULL TRUE FALSE[0x0]
484- ?Hello, World chr(0).chr(128).chr(234).chr(65).chr(255).chr(256)"
489+ string(321) "Hello,FOUNDworld,0120333.3445-1.234567FOUNDFOUNDFOUNDFOUNDFOUNDFOUNDFOUNDFOUNDFOUNDFOUNDNULLFOUNDTRUEFOUNDFALSE[0x0]
491+ FOUNDFOUNDFOUNDFOUNDFOUNDFOUNDFOUNDFOUND?Hello,FOUNDWorldFOUNDchr(0).chr(128).chr(234).chr(65).chr(255).chr(256)"
492+ -- search string has found '32' times
489- string(307) "Hello,FOUNDworld,0120333.3445-1.234567FOUNDFOUNDFOUNDFOUNDFOUNDFOUNDFOUNDFOUNDFOUNDFOUNDNULLFOUNDTRUEFOUNDFALSE[0x0]
491- FOUNDFOUNDFOUNDFOUND?Hello,FOUNDWorldFOUNDchr(0).chr(128).chr(234).chr(65).chr(255).chr(256)"
492- -- search string has found '29' times
496+ string(205) "Hello, world,0120333.3445-1.234567 NULL TRUE FALSEFOUND
498+ ?Hello, World chr(0).chr(128).chr(234).chr(65).chr(255).chr(256)"
496- string(203) "Hello, world,0120333.3445-1.234567 NULL TRUE FALSEFOUND
498- ?Hello, World chr(0).chr(128).chr(234).chr(65).chr(255).chr(256)"
503+ string(196) "Hello, world,0120333.3445-1.234567 NULL TRUE FALSE[0x0]
505+ ?Hello, World chr(0).chr(128).chr(234).chr(65).chr(255).chr(256)"
503- string(194) "Hello, world,0120333.3445-1.234567 NULL TRUE FALSE[0x0]
505- ?Hello, World chr(0).chr(128).chr(234).chr(65).chr(255).chr(256)"
510+ string(196) "Hello, world,0120333.3445-1.234567 NULL TRUE FALSE[0x0]
511+ [0x0]0FOUNDD[0x0]abcd \xXYZ abcd $$@#%^&*!~,.:;?: !!Hello, World
512+ ?Hello, World chr(0).chr(128).chr(234).chr(65).chr(255).chr(256)"
510- string(194) "Hello, world,0120333.3445-1.234567 NULL TRUE FALSE[0x0]
511- [0x0]0FOUNDD[0x0]abcd \xXYZ abcd $$@#%^&*!~,.:;?: !!Hello, World
512- ?Hello, World chr(0).chr(128).chr(234).chr(65).chr(255).chr(256)"
517+ string(196) "Hello, world,0120333.3445-1.234567 NULL TRUE FALSE[0x0]
519+ ?Hello, World chr(0).chr(128).chr(234).chr(65).chr(255).chr(256)"
517- string(194) "Hello, world,0120333.3445-1.234567 NULL TRUE FALSE[0x0]
519- ?Hello, World chr(0).chr(128).chr(234).chr(65).chr(255).chr(256)"
524+ string(196) "Hello, world,0120333FOUND445-1.234567 NULL TRUE FALSE[0x0]
526+ ?Hello, World chr(0).chr(128).chr(234).chr(65).chr(255).chr(256)"
524- string(194) "Hello, world,0120333FOUND445-1.234567 NULL TRUE FALSE[0x0]
526- ?Hello, World chr(0).chr(128).chr(234).chr(65).chr(255).chr(256)"
531+ string(205) "Hello, world,0FOUND20333.3445-FOUND.234567 NULL TRUE FALSE[0x0]
533+ ?Hello, World chr(0).chr(FOUND28).chr(234).chr(65).chr(255).chr(256)"
531- string(203) "Hello, world,0FOUND20333.3445-FOUND.234567 NULL TRUE FALSE[0x0]
533- ?Hello, World chr(0).chr(FOUND28).chr(234).chr(65).chr(255).chr(256)"
538+ string(194) "Hello, world,0120333.3445-1.234567 NULL FOUND FALSE[0x0]
540+ ?Hello, World chr(0).chr(128).chr(234).chr(65).chr(255).chr(256)"
538- string(192) "Hello, world,0120333.3445-1.234567 NULL FOUND FALSE[0x0]
540- ?Hello, World chr(0).chr(128).chr(234).chr(65).chr(255).chr(256)"
545+ string(205) "Hello, world,0FOUND20333.3445-FOUND.234567 NULL TRUE FALSE[0x0]
547+ ?Hello, World chr(0).chr(FOUND28).chr(234).chr(65).chr(255).chr(256)"
545- string(203) "Hello, world,0FOUND20333.3445-FOUND.234567 NULL TRUE FALSE[0x0]
547- ?Hello, World chr(0).chr(FOUND28).chr(234).chr(65).chr(255).chr(256)"
552+ string(205) "Hello, world,0FOUND20333.3445-FOUND.234567 NULL TRUE FALSE[0x0]
554+ ?Hello, World chr(0).chr(FOUND28).chr(234).chr(65).chr(255).chr(256)"
552- string(203) "Hello, world,0FOUND20333.3445-FOUND.234567 NULL TRUE FALSE[0x0]
554- ?Hello, World chr(0).chr(FOUND28).chr(234).chr(65).chr(255).chr(256)"
559+ string(193) "Hello, world,0120333.3445-1.234567 NULL TRUE FALSE[0x0]
561+ ?Hello, World chr(0).chr(128).chr(234).chr(65).chr(255).chr(256)"
559- string(191) "Hello, world,0120333.3445-1.234567 NULL TRUE FALSE[0x0]
561- ?Hello, World chr(0).chr(128).chr(234).chr(65).chr(255).chr(256)"
566+ string(193) "Hello, world,0120333.3445-1.234567 NULL TRUE FOUND[0x0]
568+ ?Hello, World chr(0).chr(128).chr(234).chr(65).chr(255).chr(256)"
566- string(191) "Hello, world,0120333.3445-1.234567 NULL TRUE FOUND[0x0]
568- ?Hello, World chr(0).chr(128).chr(234).chr(65).chr(255).chr(256)"
573+ string(321) "Hello,FOUNDworld,0120333.3445-1.234567FOUNDFOUNDFOUNDFOUNDFOUNDFOUNDFOUNDFOUNDFOUNDFOUNDNULLFOUNDTRUEFOUNDFALSE[0x0]
575+ FOUNDFOUNDFOUNDFOUNDFOUNDFOUNDFOUNDFOUND?Hello,FOUNDWorldFOUNDchr(0).chr(128).chr(234).chr(65).chr(255).chr(256)"
576+ -- search string has found '32' times
573- string(307) "Hello,FOUNDworld,0120333.3445-1.234567FOUNDFOUNDFOUNDFOUNDFOUNDFOUNDFOUNDFOUNDFOUNDFOUNDNULLFOUNDTRUEFOUNDFALSE[0x0]
575- FOUNDFOUNDFOUNDFOUND?Hello,FOUNDWorldFOUNDchr(0).chr(128).chr(234).chr(65).chr(255).chr(256)"
576- -- search string has found '29' times
580+ string(188) "Hello, world,0120333.3445-1.234567FOUNDNULL TRUE FALSE[0x0]
582+ ?Hello, World chr(0).chr(128).chr(234).chr(65).chr(255).chr(256)"
580- string(186) "Hello, world,0120333.3445-1.234567FOUNDNULL TRUE FALSE[0x0]
582- ?Hello, World chr(0).chr(128).chr(234).chr(65).chr(255).chr(256)"
587+ string(201) "Hello, world,0120333.3445-1.234567 NULL TRUE FALSE[0x0]
589+ ?Hello, World chr(0).chr(128).chr(234).chr(65).chr(255).chr(256)"
587- string(199) "Hello, world,0120333.3445-1.234567 NULL TRUE FALSE[0x0]
589- ?Hello, World chr(0).chr(128).chr(234).chr(65).chr(255).chr(256)"
594+ string(193) "Hello, world,0120333.3445-1.234567 NULL TRUE FALSE[0x0]
596+ ?Hello, World chr(0).chr(128).chr(234).chr(65).chr(255).chr(256)"
594- string(191) "Hello, world,0120333.3445-1.234567 NULL TRUE FALSE[0x0]
596- ?Hello, World chr(0).chr(128).chr(234).chr(65).chr(255).chr(256)"
601+ string(201) "Hello, world,0120333.3445-1.234567 NULL TRUE FALSE[0x0]
603+ ?Hello, World chr(0).chr(128).chr(234).chr(65).chr(255).chr(256)"
604+ -- search string has found '2' times
601- string(203) "Hello, world,0120333.3445-1.234567 NULL TRUE FALSE[0x0]
603- FOUND ?Hello, World chr(0).chr(128).chr(234).chr(65).chr(255).chr(256)"
604- -- search string has found '3' times
608+ string(193) "Hello, world,0120333.3445-1.234567 NULL TRUE FALSE[0x0]
610+ ?Hello, World chr(0).chr(128).chr(234).chr(65).chr(255).chr(256)"
608- string(191) "Hello, world,0120333.3445-1.234567 NULL TRUE FALSE[0x0]
610- ?Hello, World chr(0).chr(128).chr(234).chr(65).chr(255).chr(256)"
6 (46%)