(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
| <?php | |
| /* Find files */ | |
| $files = glob( $argv[1] ); | |
| sort( $files ); | |
| echo "Reading from: \n- ", implode( "\n- ", $files ), "\n\n"; | |
| /* Read Amount of Seats from Command Line */ | |
| array_shift( $argv ); | |
| array_shift( $argv ); | |
| $seats = (int) $argv[0]; |
| <?php | |
| const PSALM_STRING = ': string'; | |
| const SELECT_ALL = '*'; | |
| // These must be upper case to avoid accidental positives | |
| const SQL_SELECT = 'SELECT'; | |
| const SQL_FROM = 'FROM'; | |
| const ARG_DEBUG = '--debug'; | |
| // This is lower case as the field names are forced to lower case | |
| const SQL_AS = ' as '; |
| <?php | |
| namespace PhpBenchmarks; | |
| use SplStack; | |
| use SplQueue; | |
| const NUM_TEST_ITEMS = 100000; | |
| const DATA_SIZE = 32; //Bytes. |
| <?xml version="1.0" encoding="UTF-8"?> | |
| <opml version="1.0"> | |
| <head> | |
| <title>Subscriptions - [email protected]</title> | |
| </head> | |
| <body> | |
| <outline text="PHP" title="PHP"> | |
| <outline htmlUrl="http://frederickvanbrabant.com" title="frederickvanbrabant.com" xmlUrl="http://frederickvanbrabant.com/feed.xml" type="rss" text="frederickvanbrabant.com"/> | |
| <outline htmlUrl="http://mattallan.org" title="mattallan.org" xmlUrl="http://mattallan.org/feed.xml" type="rss" text="mattallan.org"/> | |
| <outline title="asked.io" xmlUrl="https://asked.io/rss" type="rss" text="asked.io"/> |
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.