Advertisement
fruffl

Keep It Simple! YEAH!

Apr 19th, 2012
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.40 KB | None | 0 0
  1. <?PHP
  2. try
  3. {
  4.     class keepItSimple extends Application{}
  5.     keepItSimple::threadSave()->boot();
  6.        
  7.     foreach((new DataTypeScalarArraySegment(new DataTypeScalarArray
  8.         ((
  9.             new DataTypeScalar('barbazfoo'))->toArray(),
  10.             new Bits(DataTypeScalarArray::IT_MODE_LO)
  11.         ), 3, 3))->toUpper() as $c)
  12.             print $c; // prints ZAB
  13. }
  14. catch(\Facepalm\Exception $fairy)
  15. {
  16.     $fairy->export()->toDB()->asXML();
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement