@@ -36,13 +36,13 @@ |
||
36 | 36 | const STDERR = 7; |
37 | 37 | const DATA = 8; |
38 | 38 | const GET_VALUES = 9; |
39 | - const GET_VALUES_RESULT =10; |
|
40 | - const UNKNOWN_TYPE =11; |
|
39 | + const GET_VALUES_RESULT = 10; |
|
40 | + const UNKNOWN_TYPE = 11; |
|
41 | 41 | |
42 | 42 | /** |
43 | 43 | * Value for requestId component of FCGI_Header |
44 | 44 | */ |
45 | - const NULL_REQUEST_ID = 0; |
|
45 | + const NULL_REQUEST_ID = 0; |
|
46 | 46 | |
47 | 47 | /** |
48 | 48 | * Mask for flags component of FCGI_BeginRequestBody |
@@ -65,7 +65,7 @@ discard block |
||
65 | 65 | $dataOffset = $valueOffset + ($isLongValue ? 4 : 1); |
66 | 66 | |
67 | 67 | $formatParts = array( |
68 | - $isLongName ? 'NnameLength' : 'CnameLength', |
|
68 | + $isLongName ? 'NnameLength' : 'CnameLength', |
|
69 | 69 | $isLongValue ? 'NvalueLength' : 'CvalueLength', |
70 | 70 | ); |
71 | 71 | $format = join('/', $formatParts); |
@@ -107,7 +107,7 @@ discard block |
||
107 | 107 | $isLongName = $nameLength > 127; |
108 | 108 | $isLongValue = $valueLength > 127; |
109 | 109 | $formatParts = array( |
110 | - $isLongName ? 'N' : 'C', |
|
110 | + $isLongName ? 'N' : 'C', |
|
111 | 111 | $isLongValue ? 'N' : 'C', |
112 | 112 | "a{$nameLength}", |
113 | 113 | "a{$valueLength}" |
@@ -116,7 +116,7 @@ discard block |
||
116 | 116 | |
117 | 117 | $payload .= pack( |
118 | 118 | $format, |
119 | - $isLongName ? ($nameLength | 0x80000000) : $nameLength, |
|
119 | + $isLongName ? ($nameLength | 0x80000000) : $nameLength, |
|
120 | 120 | $isLongValue ? ($valueLength | 0x80000000) : $valueLength, |
121 | 121 | $nameData, |
122 | 122 | $valueData |
@@ -1,8 +1,8 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @author Alexander.Lisachenko |
|
4 | - * @date 14.07.2014 |
|
5 | - */ |
|
3 | + * @author Alexander.Lisachenko |
|
4 | + * @date 14.07.2014 |
|
5 | + */ |
|
6 | 6 | |
7 | 7 | namespace Protocol\FCGI\Record; |
8 | 8 |
@@ -1,8 +1,8 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @author Alexander.Lisachenko |
|
4 | - * @date 14.07.2014 |
|
5 | - */ |
|
3 | + * @author Alexander.Lisachenko |
|
4 | + * @date 14.07.2014 |
|
5 | + */ |
|
6 | 6 | |
7 | 7 | namespace Protocol\FCGI\Record; |
8 | 8 |
@@ -1,8 +1,8 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @author Alexander.Lisachenko |
|
4 | - * @date 08.09.2015 |
|
5 | - */ |
|
3 | + * @author Alexander.Lisachenko |
|
4 | + * @date 08.09.2015 |
|
5 | + */ |
|
6 | 6 | |
7 | 7 | namespace Protocol\FCGI; |
8 | 8 |
@@ -1,8 +1,8 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @author Alexander.Lisachenko |
|
4 | - * @date 08.09.2015 |
|
5 | - */ |
|
3 | + * @author Alexander.Lisachenko |
|
4 | + * @date 08.09.2015 |
|
5 | + */ |
|
6 | 6 | |
7 | 7 | namespace Protocol\FCGI; |
8 | 8 |
@@ -1,8 +1,8 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @author Alexander.Lisachenko |
|
4 | - * @date 08.09.2015 |
|
5 | - */ |
|
3 | + * @author Alexander.Lisachenko |
|
4 | + * @date 08.09.2015 |
|
5 | + */ |
|
6 | 6 | |
7 | 7 | namespace Protocol\FCGI; |
8 | 8 |
@@ -1,8 +1,8 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @author Alexander.Lisachenko |
|
4 | - * @date 14.07.2014 |
|
5 | - */ |
|
3 | + * @author Alexander.Lisachenko |
|
4 | + * @date 14.07.2014 |
|
5 | + */ |
|
6 | 6 | |
7 | 7 | namespace Protocol\FCGI\Record; |
8 | 8 |
@@ -1,8 +1,8 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @author Alexander.Lisachenko |
|
4 | - * @date 14.07.2014 |
|
5 | - */ |
|
3 | + * @author Alexander.Lisachenko |
|
4 | + * @date 14.07.2014 |
|
5 | + */ |
|
6 | 6 | |
7 | 7 | namespace Protocol\FCGI\Record; |
8 | 8 |
@@ -1,8 +1,8 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @author Alexander.Lisachenko |
|
4 | - * @date 14.07.2014 |
|
5 | - */ |
|
3 | + * @author Alexander.Lisachenko |
|
4 | + * @date 14.07.2014 |
|
5 | + */ |
|
6 | 6 | |
7 | 7 | namespace Protocol\FCGI\Record; |
8 | 8 |