This file contains 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 | |
/** | |
* Парсинг заголовков | |
* @param $rawHeaders | |
* @return array | |
*/ | |
public function httpParseHeaders($rawHeaders) | |
{ | |
$headers = []; | |
$key = ''; |
This file contains 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 | |
register_shutdown_function(function(){ new one(); }); | |
class one | |
{ | |
public function __construct() | |
{ | |
die("DIED ONCE\n"); | |
} |