Test: /Zend/tests/019.phpt - Version 5.4.43    

There is 1 diff reported by users for this test.

Count Diff
1 (100%)
657- bool(false)
658- bool(true)
659- bool(false)
660- bool(true)
661- -- Innerloop Iteration 1 of Outerloop Iteration 9 --
662- array(1) {
663- ["Age"]=>
664- string(2) "30"
665- }
666-
667- Notice: Undefined variable: key_val in %s on line %d
668- bool(false)
669-
670- Notice: Undefined variable: key_val in %s on line %d
671- bool(false)
672-
673- Notice: Undefined variable: key_val in %s on line %d
674- bool(true)
675- array(1) {
676- ["Age"]=>
677- string(2) "30"
678- }
679- -- Innerloop Iteration 2 of Outerloop Iteration 9 --
680- array(0) {
681- }
682-
683- Notice: Undefined variable: key_val in %s on line %d
684- bool(false)
685-
686- Notice: Undefined variable: key_val in %s on line %d
687- bool(false)
688-
689- Notice: Undefined variable: key_val in %s on line %d
690- bool(true)
691- array(0) {
692- }
693-
694- Notice: Undefined variable: array_var in %s on line %d
695- NULL
696- bool(false)
697- bool(false)
698- bool(true)
699- --- Outerloop Iteration 10 ---
700- bool(false)
701- bool(false)
702- bool(false)
703- bool(true)
704- bool(false)
705- bool(true)
706- -- Innerloop Iteration 1 of Outerloop Iteration 10 --
707- array(4) {
708- [1]=>
709- int(2)
710- ["One"]=>
711- string(1) "1"
712- [2]=>
713- string(3) "two"
714- [""]=>
715- string(0) ""
716- }
717-
718- Notice: Undefined variable: key_val in %s on line %d
719- bool(true)
720-
721- Notice: Undefined variable: key_val in %s on line %d
722- bool(true)
723-
724- Notice: Undefined variable: key_val in %s on line %d
725- bool(true)
726- array(4) {
727- [1]=>
728- int(2)
729- ["One"]=>
730- string(1) "1"
731- [2]=>
732- string(3) "two"
733- [""]=>
734- string(0) ""
735- }
736- -- Innerloop Iteration 2 of Outerloop Iteration 10 --
737- array(3) {
738- ["One"]=>
739- string(1) "1"
740- [2]=>
741- string(3) "two"
742- [""]=>
743- string(0) ""
744- }
745-
746- Notice: Undefined variable: key_val in %s on line %d
747- bool(true)
748-
749- Notice: Undefined variable: key_val in %s on line %d
750- bool(true)
751-
752- Notice: Undefined variable: key_val in %s on line %d
753- bool(true)
754- array(3) {
755- ["One"]=>
756- string(1) "1"
757- [2]=>
758- string(3) "two"
759- [""]=>
760- string(0) ""
761- }
762- -- Innerloop Iteration 3 of Outerloop Iteration 10 --
763- array(2) {
764- [2]=>
765- string(3) "two"
766- [""]=>
767- string(0) ""
768- }
769-
770- Notice: Undefined variable: key_val in %s on line %d
771- bool(true)
772-
773- Notice: Undefined variable: key_val in %s on line %d
774- bool(true)
775-
776- Notice: Undefined variable: key_val in %s on line %d
777- bool(true)
778- array(2) {
779- [2]=>
780- string(3) "two"
781- [""]=>
782- string(0) ""
783- }
784- -- Innerloop Iteration 4 of Outerloop Iteration 10 --
785- array(1) {
786- [""]=>
787- string(0) ""
788- }
789-
790- Notice: Undefined variable: key_val in %s on line %d
791- bool(true)
792-
793- Notice: Undefined variable: key_val in %s on line %d
794- bool(true)
795-
796- Notice: Undefined variable: key_val in %s on line %d
797- bool(true)
798- array(1) {
799- [""]=>
800- string(0) ""
801- }
802- -- Innerloop Iteration 5 of Outerloop Iteration 10 --
803- array(0) {
804- }
805-
806- Notice: Undefined variable: key_val in %s on line %d
807- bool(false)
808-
809- Notice: Undefined variable: key_val in %s on line %d
810- bool(false)
811-
812- Notice: Undefined variable: key_val in %s on line %d
813- bool(true)
814- array(0) {
815- }
816-
817- Notice: Undefined variable: array_var in %s on line %d
818- NULL
819- bool(false)
820- bool(false)
821- bool(true)
822-
823- *** Testing unset(), emtpy() & isset() with resource variables ***
824- -- Iteration 1 --
825- resource(%d) of type (stream)
826- bool(true)
827- bool(false)
828- bool(true)
829- resource(%d) of type (stream)
830- bool(false)
831- bool(true)
832- bool(false)
833- bool(false)
834-
835- Notice: Undefined variable: resource in %s on line %d
836- NULL
837- -- Iteration 2 --
838- resource(%d) of type (stream)
839- bool(true)
840- bool(false)
841- bool(true)
842- resource(%d) of type (stream)
843- bool(false)
844- bool(true)
845- bool(false)
846- bool(false)
847-
848- Notice: Undefined variable: resource in %s on line %d
849- NULL
850-
851- Notice: Undefined variable: resources in %s on line %d
852- NULL
853- bool(false)
854- bool(true)
855-
856- *** Testing unset(), empty() & isset() with objects ***
857- object(Point)#%d (3) {
858- ["x"]=>
859- int(30)
860- ["y"]=>
861- int(40)
862- ["lable"]=>
863- NULL
864- }
865- bool(true)
866- bool(false)
867-
868- Notice: Undefined variable: lable in %s on line %d
869- bool(false)
870-
871- Notice: Undefined variable: lable in %s on line %d
872- bool(true)
873-
874- Notice: Undefined variable: lable in %s on line %d
875- bool(false)
876-
877- Notice: Undefined variable: lable in %s on line %d
878- bool(true)
879- object(Point)#%d (3) {
880- ["x"]=>
881- int(30)
882- ["y"]=>
883- int(40)
884- ["lable"]=>
885- string(6) "Point1"
886- }
887- object(Point)#%d (2) {
888- ["y"]=>
889- int(40)
890- ["lable"]=>
891- string(6) "Point1"
892- }
893- bool(false)
894- bool(true)
895- object(Point)#%d (0) {
896- }
897- bool(true)
898- bool(false)
899- bool(false)
900- bool(true)
901-
902- Notice: Undefined variable: point1 in %s on line %d
903- NULL
904- bool(false)
905- bool(true)
906- bool(false)
907- bool(true)
908- array(3) {
909- [0]=>
910- string(5) "Point"
911- [1]=>
912- string(8) "setLable"
913- [2]=>
914- string(9) "testPoint"
915- }
916- object(Point)#%d (3) {
917- ["x"]=>
918- int(5)
919- ["y"]=>
920- int(6)
921- ["lable"]=>
922- NULL
923- }
924-
925- *** Testing possible variation in operation for isset(), empty() & unset() ***
926-
927- ** Testing unset() variation 1: unset on static variable inside a function **
928- value of static_var before unset: 1
929- bool(true)
930- bool(false)
931-
932- Notice: Undefined variable: static_var in %s on line %d
933- value of static_var after unset:
934- bool(false)
935- bool(true)
936- value of static_var after new assignment: 20
937- value of static_var before unset: 2
938- bool(true)
939- bool(false)
940-
941- Notice: Undefined variable: static_var in %s on line %d
942- value of static_var after unset:
943- bool(false)
944- bool(true)
945- value of static_var after new assignment: 20
946- value of static_var before unset: 3
947- bool(true)
948- bool(false)
949-
950- Notice: Undefined variable: static_var in %s on line %d
951- value of static_var after unset:
952- bool(false)
953- bool(true)
954- value of static_var after new assignment: 20
955-
956- ** Testing unset() variation 2: unset on a variable passed by ref. inside of a function **
957- string(5) "value"
958- bool(false)
959- bool(true)
960- string(5) "value"
961-
962- ** Testing unset() variation 3: unset on a global variable inside of a function **
963- int(10)
964- bool(true)
965- bool(false)
966- bool(false)
967- bool(true)
968- int(10)
969- ===DONE===