Zend PHP Certification Study Guide- P13

20 309 0
Zend PHP Certification Study Guide- P13

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

Thông tin tài liệu

16 7090 Glossary 7/16/04 8:45 AM Page 224 Please purchase PDF Split-Merge on www.verypdf.com to remove this watermark 17 7090 index 7/16/04 8:43 AM Page 225 Index Symbols !== (identity) operator, code writing guidelines, 190 ++ (prefix incrementing) operator, 15 — (prefix decrementing) operator, 15 == (is equal) operator, 90 === (identity) operator, 90 code writing guidelines, 190 A addition (+) operator, 15 aggregate functions, 152 AVG( ), 152 COUNT( ), 152 MAX( ), 152 MIN( ), 152 AND operator (logical), 18 applications, scripts elements of, sample, tags, 7-8 arbitrary offsets, substrings, matching, 92-93 arguments in functions func_get_arg( ), 31-32 func_num_arg( ), 31-32 arithmetic operators addition (+), 15 division (/), 15 multiplication (*), 15 prefix decrementing (—), 15 prefix incrementing (++), 15 subtraction (-), 15 array( ) function, 62-63 array operator ([]) arrays, creating, 64-65 elements, 63 assigning values to, 64 arrays array operator ([ ]) assigning values to elements, 64 elements, 63 common elements, intersection of, 84-85 creating with array ([ ]) operator, 64-65 with array( ) function, 62-63 differences, calculating, 85 elements checking for existence of, 73 counting, 65 keys, 11 files, converting with file( ) function, 112 functions, manipulating, 76-78 keys case, changing, 74 extracting from other arrays, 72 manipulating, 72-76 sorting by, 74-76 merging, 82-84 multidimensional, 66-68 sorting, 78-81 navigating, 68-71 overview, 61 randomizing, 81-82 serializing, 85-86 values, assigning to multiple variables, 65-66 array_change_key_case( ) function, 74 array_diff( ) function, 85 array_diff_assoc( ) function, 85 array_intersect( ) function, 84-85 array_keys( ) function, 72 array_keys_exists( ) function, 73 array_merge( ) function, 82-84 array_multisort( ) function, 78-81 array_rand( ) function, 81-82 array_walk( ) function, 71 arsort( ) function, 77-78 asort( ) function, 77-78 Please purchase PDF Split-Merge on www.verypdf.com to remove this watermark 17 7090 index 226 7/16/04 8:43 AM Page 226 assigning assigning values to elements via array operator ([ ]), 64 variables by reference, 38-42 assignment operator, 14 associativity in operators, 19-20 attachments (email) images, sending (HTML), 137-139 text files, sending, 135-139 auto_detect_line_endings setting (php.ini file), 162 AVG( ) function, 152 B-C Bcc header (email), 133 bitwise operators, 16 blacklist approach, data filtering, 178 blocking mode (sockets), 169-170 Boolean values, true/false conditions, 11 built-in file wrappers, 159-160 bytecode caches commercial, 197 function of, 196-197 open-source, 197 caching solutions, code optimization, 196-197 callback function, walking through arrays, 71 case of array keys, changing, 74 case statement, 23-25 Cc header (email), 133 chgrp( ) function, file groups, changing, 111 chmod( ) function, file modes, changing, 111 chown( ) function, file ownership, changing, 111 class constructs, declaration of, 36-37 classes declaring (class construct), 36-37 encapsulation, 35 function of, 36 inheritance, 35 implementation process, 42-44 instantiating (new operator), 37 as namespaces, 37-38 client-side processing JavaScript example, 50-51 versus server-side processing, 50-51 closing file wrappers, 162 files via fclose( ) function, 107 sockets, 171 closing tags, 7-8 code debugger types, 193 flattening of if statements, 187-188 logical groupings, 186 optimization, caching techniques, 196-197 program documentation, 186 whitespace, 186 writing command splitting over multiple lines, 188 embedding of if statements, 191-192 predefined standards, 186 tag styles, 189 testing for resource allocation, 190-191 use of concatenation operator, 188-189 use of condition statements, 189-190 use of identity operators, 190 columns (tables), data types, 146 combined assignment operators, 19 comments (exam), entering, 204 COMMIT TRANSACTION command, 153 comparing strings via comparison operators, 90 via strcasecmp( ) function, 91 via strcmp( ) function, 91 comparison operators, 17-18 == (is equal), 90 === (is identical), 90 difference (!=), 17 equality (==), 17 greater than (>), 17 greater than or equal (=>), 17 less than () operator, 17 Greenwich Mean Time (GMT), 116 groups of files, changing (chgrp( ) function), 111 hardware, performance optimization measures, 193-194 headers (email) Bcc, 133 Cc, 133 From, 133 headers (HTTP), cookies, 54-55 heredoc syntax, declaration of string values, 11 HTML (Hypertext Markup Language) email attached images, sending, 137-139 security dangers, 130 sending, 134-135 forms, function of, 51 tags, code readability standards, 189 How can we make this index more useful? Email us at indexes@samspublishing.com Please purchase PDF Split-Merge on www.verypdf.com to remove this watermark 231 17 7090 index 232 7/16/04 8:43 AM Page 232 htmlentities( ) function htmlentities( ) function, cross-site scripting prevention, 180 htmlspecialchars( ) function, cross-site scripting prevention, 180 HTTP (Hypertext Transfer Protocol) browser requests, 50 cookies headers, 54-55 session management, 56-57 sessions, persistent data, 56-57 Hypertext Markup Language See HTML Hypertext Transfer Protocol See HTTP I identifiers function of, 12 naming conventions, 12 validity of, 12 identity operators (===), code writing guidelines, 190 if statements embedding for code writing, 191-192 flattening for code writing purposes, 187-188 if-then-else statement, 21-22 alternative syntax, 22 short form syntax, 22 include construct, 8-9 include once construct, 8-9 inclusion of external files, 8-9 indices (databases), 147 foreign keys, 148 good writing rules, 147 primary keys, 148 tables, 147 infinite loops, 25 inheritance classes, 35 implementation process, 42-44 inner joins, 150-151 intersection in arrays, common elements, 84-85 INSERT statement, table rows, inserting, 149 instantiating classes with new operator, 37 integer numeric data types, 9-10 internal pointers, array navigation, 70-71 Internet Engineering Task Force (IETF) website, 172 Internet Mail Consortium website, 140 IPs, unique number of, is equal (==) operator, 90 is identical (===) operator, 90 is_dir( ) function, 110 is_executable( ) function, 110 is_file( ) function, 110 is_link( ) function, 110 is_readable( ) function, 110 is_uploaded_file( ) function, 110 is_writable( ) function, 110 iteration structures, 25 continue statement, 28 do-while statement, 26 for loop, 26-27 while statement, 25-26 J-K JavaScript, client-side processing, 50-51 joining tables, 150-151 junk email filters, 130 keys in arrays case, changing, 74 extracting from other arrays, 72 manipulating, 72-76 sorting by, 74-76 krsort( ) function, array sorts by keys, 74-76 ksort( ) function, array sorts by keys, 74-76 L languages constructs include, 8-9 include once, 8-9 require, 8-9 require once, 8-9 PHP functionality, leading substrings, matching, 92 less than (), 17 less than (

Ngày đăng: 28/10/2013, 19:15

Từ khóa liên quan

Tài liệu cùng người dùng

Tài liệu liên quan