Skip to content

Latest commit

 

History

History
265 lines (217 loc) · 3.61 KB

File metadata and controls

265 lines (217 loc) · 3.61 KB

PHP Certification Study (Zend)

Build Status

by book Zend PHP 5.5 Certification Study Guide, Third Edition will be good to see: https://github.com/php/php-langspec

  • PHP Basics
  • Functions
  • Arrays
  • Object-oriented Programming
  • Security
  • Databases
  • Data Format & Types
  • Arrays
  • Strings & Patterns
  • Web Features
  • I/O

For use PHP 7 - https://github.com/rlerdorf/php7dev

Construction

  • finally

  • yield

  • continue

  • break

  • switch

Basic

  • is_int
  • is_float
  • is_real
  • is_string
  • is_bool
  • is_null
  • is_array
  • is_object
  • is_scalar
  • is_numeric
Operators
  • Ternary
Functions
  • log

  • log10

  • is_nan

  • crc32

  • md5

  • crypt

Math
  • min
  • max
  • abs
  • base_convert
  • bindec
  • decbin
  • ceil
  • floor
  • round

String

Functions
  • substr

  • strrev

  • substr_replace

  • substr_count

  • str_replace

  • str_split

  • sscanf

  • strpos

  • strrpos

  • stripos

  • strtr

  • strstr

  • stristr

  • ucfirst

  • ucwords

  • strtolower

  • strtoupper

  • strcmp

  • strncmp

  • strcasecmp

  • strncasecmp

  • trim

  • rtrim

  • ltrim

  • wordwrap

  • urlencode

  • urldecode

  • http_build_query

  • parse_url

  • levenshtein

  • settype

  • gettype

  • addslashes

  • stripslashes

  • addcslashes

  • htmlentities

  • htmlspecialchars

  • strip_tags

  • str_word_count

  • substr_compare

  • similar_text

  • pack

  • unpack

  • version_compare

Patterns
  • preg_match
  • preg_replace
  • implode
  • join alias of implode
  • explode

OOP

Magic
  • __call
  • __set
  • __isset
  • __unset
  • __get
  • __call
  • __callStatic
  • __clone
  • __sleep
  • __wakeup

Static

  • when property
  • when method variable
Anonymous Class
Trait
  • trait implement interface that used in class
  • trait private property
  • trait use trait
  • instanceof trait (false)
  • trait as function argument type (fail)
  • abstract trait (fail)
  • class_uses
Design Pattern
  • Decorator (from Head First)

Arrays functions

Stack
  • array_push
  • array_pop
  • array_unshift
  • array_shift
Filter
  • array_filter
Common
  • current
  • reset
  • next
  • key
  • array_key_exists
  • array_values
  • array_keys
  • in_array
  • array_search
  • array_merge
  • array_merge_recursive
  • array_flip
  • array_map
  • array_combine
  • array_count_values
  • array_slice
  • array_chunk
  • array_fill
  • array_fill_keys
  • array_column
  • array_change_key_case
  • array_pad
  • array_splice
  • array_replace
  • array_replace_recursive
  • array_reverse
  • count
Sets
  • array_unique
  • array_diff
  • array_intersect
  • array_intersect_assoc
Sort
  • sort
  • asort
  • arsort
  • rsort
  • usort

Type alias

  • int

  • integer

  • bool

  • boolean

  • float

  • double

  • real

XML

  • SimpleXMLElement
  • simplexml_load_string

Data Format

  • DateTime::createFromFormat
  • date_create_from_format
  • DateInterval

JSON

  • json_encode
  • json_decode
  • json_last_error_msg

Reflection

  • get_class
  • is_subclass_of
  • get_parent_class

Standard interfaces

  • Iterator
  • IteratorAggregate
  • Traversable
  • EmptyIterator
  • ArrayIterator

Link

TODO:

  • SplFixedArray
  • stripcslashes
  • NoRewindIterator
  • SplObjectStorage
  • is_a
  • token_get_all