This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| * Zend Framework (http://framework.zend.com/) | |
| * | |
| * @link http://github.com/zendframework/zf2 for the canonical source repository | |
| * @copyright Copyright (c) 2005-2013 Zend Technologies USA Inc. (http://www.zend.com) | |
| * @license http://framework.zend.com/license/new-bsd New BSD License | |
| */ | |
| return array( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package main | |
| import ( | |
| "github.com/temoto/robotstxt-go" | |
| "fmt" | |
| ) | |
| func main() { | |
| robots, err := robotstxt.FromBytes([]byte(` | |
| User-agent: Googlebot |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| use \SplObjectStorage; | |
| use Zend\Http\PhpEnvironment\Request; | |
| use Zend\Http\PhpEnvironment\Response; | |
| class Dispatcher | |
| { | |
| private $router; | |
| public function __construct(Router $router) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| namespace Sample; | |
| use Heroine\Heroine; | |
| use Heroine\Factory\FactoryInterface; | |
| use PDO; | |
| // heroine is here | |
| // https://github.com/bjyoungblood/heroine | |
| require_once __DIR__.'/test/bootstrap.php'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| use TokenReflection\Broker; | |
| $broker = new Broker(new Broker\Backend\Memory()); | |
| $broker->processDirectory('./library/Zend/Validator'); | |
| var_dump($broker->getClass('Zend\Validator\Ip')->getDefaultProperties()['messageTemplates']); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| * Zend Framework (http://framework.zend.com/) | |
| * | |
| * @link http://github.com/zendframework/zf2 for the canonical source repository | |
| * @copyright Copyright (c) 2005-2013 Zend Technologies USA Inc. (http://www.zend.com) | |
| * @license http://framework.zend.com/license/new-bsd New BSD License | |
| */ | |
| namespace Zend\Code\Scanner; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --TEST-- | |
| Sample TEST | |
| --FILE-- | |
| <?php | |
| $users = [ | |
| '太郎' => 'male', | |
| '花子' => 'female', | |
| '一郎' => 'male', | |
| ]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 1a2,8 | |
| > /** | |
| > * Zend Framework (http://framework.zend.com/) | |
| > * | |
| > * @link http://github.com/zendframework/zf2 for the canonical source repository | |
| > * @copyright Copyright (c) 2005-2013 Zend Technologies USA Inc. (http://www.zend.com) | |
| > * @license http://framework.zend.com/license/new-bsd New BSD License | |
| > */ | |
| 3c10 | |
| < namespace SecurityMultiTool\Html; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --TEST-- | |
| Assert Title TEST | |
| --SKIPIF-- | |
| <?php | |
| if (!extension_loaded('webkitgtk')) { | |
| die("skip webkitgtk extension not available."); | |
| } | |
| ?> | |
| --FILE-- | |
| <?php |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 1c1,21 | |
| < <?php | |
| --- | |
| > <?php | |
| > /** | |
| > * Zend Framework | |
| > * | |
| > * LICENSE | |
| > * | |
| > * This source file is subject to the new BSD license that is bundled |