PHP: requests to reliable services
Learn PHP values and collections, then own HTTP, persistence, security, concurrency, diagnostics and a complete service publication.
20 units · Web, Plus, Pro · 20 programming subjects + 2 security tracks
Branches show this unit’s authored theory, coding and assessment work.
Unit 1 / 20
Accept exact PHP values at the boundary
Distinguish runtime type, lexical transport form, presence and truthiness before a value reaches domain work.
0 prerequisite skills · Reading, guided completion and independent success remain separate evidence.
The course, in order
Open a unit in the map to inspect its activities. Reading, guided completion, independent work and review remain distinct evidence.
- Accept exact PHP values at the boundary
Distinguish runtime type, lexical transport form, presence and truthiness before a value reaches domain work.
Open this unit - Preserve PHP collection shape and callback intent
Keep list shape, identity keys, stable order and callable arguments intact across collection transforms.
Open this unit - Validate complete text before decoding JSON
Keep byte budgets, Unicode validity, JSON syntax and decoded root shape as separate boundary decisions.
Open this unit - Turn one request into one safe response
Resolve method, repeated input, header and output-context policy before executing a request command.
Open this unit - Make PHP state policy exhaustive
Decode backed enums safely and keep transport values, case names and exhaustive match policy distinct.
Open this unit - Preserve PHP callable and capture contracts
Choose snapshot or live scalar capture deliberately, then preserve that time policy in a changed predicate contract.
Open this unit - Keep SQL code separate from PHP data
Bind values through the statement contract, preserve placeholder shape and close result cursors owned by the operation.
Open this unit - Unwind only the PHP resources you acquired
Preserve the primary failure, release each acquired resource and avoid committing or rolling back a caller-owned scope.
Open this unit - Keep time and money exact
Parse explicit time zones and decimal money without machine-local defaults or binary floating conversion.
Open this unit - Define honest PHP object ownership
Construct typed objects completely, expose readonly scalar state and clone only mutable children the object owns.
Open this unit - Own lazy PHP iteration through completion
Consume a single-use iterable once, catch failures at execution and close a privately owned suspended generator.
Open this unit - Publish complete PHP files from owned stages
Acquire paths without check-then-create races, contain targets and publish only fully written owned files.
Open this unit - Bind browser state to the intended session
Rotate authenticated sessions, configure complete cookie policy and verify a session-bound CSRF token.
Open this unit - Version continuation and representation policy
Treat cursors as versioned data and resolve response representation by explicit media specificity.
Open this unit - Test PHP failures without leaking process policy
Inject controlled failures, restore process-wide handlers and expose stable diagnostics without invoking attacker objects.
Open this unit - Resolve PHP metadata without hidden execution
Choose trait conflicts, namespaces and attribute metadata explicitly without executing constructors during inspection.
Open this unit - Ship a complete PHP request feature
Combine request validation, prepared data access, bounded diagnostics and context-safe output in one feature boundary.
Open this unit - Commit related PHP state once
Guard optimistic writes in the mutation and commit domain state with its delivery intent atomically.
Open this unit - Authenticate bytes before interpreting data
Verify passwords, signed payloads and random tokens using standard cryptographic boundaries and canonical bytes.
Open this unit - Publish a recoverable PHP service operation
Integrate authenticated input, checked state change, transaction ownership and complete publication with recoverable failure.
Open this unit
