商品描述
This pocket reference guide has been updated with the new PHP 7.0 release. It is a condensed, code-rich scripting and syntax handbook for the PHP scripting language. PHP 7 Quick Scripting Reference presents the essential PHP script in a well-organized format.
You won’t find any technical jargon, bloated samples, drawn out history lessons or witty stories in this book. What you will find is a Web scripting language reference that is concise, to the point and highly accessible. The book is packed with useful information and is a must-have for any PHP programmer or Web developer.
In it, you will find a concise reference to the PHP 7 scripting language syntax. It includes short, simple and focused code examples and a well laid out table of contents and a comprehensive index allowing easy review.What you’ll learn
- What is new in PHP 7 and how to get started with it
- What are variables, operators, strings, arrays, conditionals, loops and other language constructs
- How to group and reuse code with functions, methods and namespaces
- How to use object-oriented features such as classes, inheritance, abstract classes and interfaces
- How to import files and retrieve user data
- What are type declarations and type conversions
- How to test variables, create references and use overloading methods
- How to store user data with cookies and sessions
- How to deal with errors through error handling, exception handling and assertions
Who this book is for
This book is a handy, pocket quick scripting syntax reference for experienced PHP as well as perhaps other programmers and Web developers even new to PHP.<
商品描述(中文翻譯)
這本口袋參考指南已更新至 PHP 7.0 版本。它是一本精簡且充滿程式碼的 PHP 腳本語言語法手冊。《PHP 7 快速腳本參考》以良好的組織格式呈現了基本的 PHP 腳本。
在這本書中,您不會找到任何技術術語、冗長的範例、拖沓的歷史課程或機智的故事。您會發現的是一本簡潔、切中要點且易於理解的網頁腳本語言參考書。這本書充滿了有用的信息,是任何 PHP 程式設計師或網頁開發者的必備工具。
在書中,您將找到 PHP 7 腳本語言語法的簡明參考。它包含短小、簡單且專注的程式碼範例,以及良好排版的目錄和全面的索引,方便快速查閱。
您將學到的內容:
- PHP 7 有哪些新特性以及如何開始使用它
- 變數、運算符、字串、陣列、條件語句、迴圈及其他語言結構是什麼
- 如何使用函數、方法和命名空間來分組和重用程式碼
- 如何使用物件導向特性,如類別、繼承、抽象類別和介面
- 如何導入檔案和檢索用戶數據
- 什麼是類型聲明和類型轉換
- 如何測試變數、創建引用和使用重載方法
- 如何使用 cookies 和會話來存儲用戶數據
- 如何通過錯誤處理、例外處理和斷言來處理錯誤
這本書適合誰:
這本書是一本方便的口袋快速腳本語法參考,適合有經驗的 PHP 程式設計師以及可能對 PHP 新手的其他程式設計師和網頁開發者。