Giter VIP home page Giter VIP logo

code-3ed's Introduction

code-3ed

Code and Examples from PHP Cookbook 3rd Edition

Each directory contains the code examples from a chapter of the book.

Each code example is generally in a *.php file. For a given example, there may be some other files with the same basename but different extensions that indicate certain things about the code example -- expected output, special INI settings required, etc.

Extension Meaning
php The code itself
prepend The code expects this file to be the auto_prepend_file
append The code expects this file to be the auto_append_file
min-version The code works with this PHP version at minimum
ini The code needs these INI settings
skip The code is not a self-contained runnable example but its syntax should be correct
out Expected output of the code
out.strip The expected output in the .out file should have newlines removed to match the actual expected output
out.regex The output is expected to match the pattern in this file
err.regex The error output is expected to match the pattern in this file
stdin The contents of this file should be fed to the code on standard input
args The code needs these PHP command line args
server The code expects to talk to a server running the PHP code in this file on port 9876 (with php -S localhost:9876 whatever.server )
server.ini The server code expects these INI settings (e.g.php -S whatever.server.ini -S localhost:9876 whatever.server)

code-3ed's People

Contributors

davidsklar avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.