1. Rules¶
1.1. Introduction¶
Exakat provides unique 1644 rules to detect BUGS, CODE SMELLS, SECURITY OR QUALITY ISSUES in your PHP code.
Each rule is documented with code example to allow you to remediate your code. If you want to automate remediation, ours cobblers can are there to fix the issues in your code for your.
1.2. List of Rules¶
- 1.2.1. $FILES full_path
- 1.2.2. $GLOBALS Or global
- 1.2.3. $HTTP_RAW_POST_DATA Usage
- 1.2.4. $php_errormsg Usage
- 1.2.5. $this Belongs To Classes Or Traits
- 1.2.6. $this Is Not An Array
- 1.2.7. $this Is Not For Static Methods
- 1.2.8. ** For Exponent
- 1.2.9. ::class
- 1.2.10. <?= Usage
- 1.2.11. @ Operator
- 1.2.12. Abstract Away
- 1.2.13. Abstract Class Constants
- 1.2.14. Abstract Class Usage
- 1.2.15. Abstract Methods Usage
- 1.2.16. Abstract Or Implements
- 1.2.17. Abstract Static Methods
- 1.2.18. Access Protected Structures
- 1.2.19. Accessing Private
- 1.2.20. Add Default Value
- 1.2.21. Add Return Typehint
- 1.2.22. Adding Zero
- 1.2.23. Aliases
- 1.2.24. All Uppercase Variables
- 1.2.25. All strings
- 1.2.26. Already Parents Interface
- 1.2.27. Already Parents Trait
- 1.2.28. Altering Foreach Without Reference
- 1.2.29. Alternative Syntax Consistence
- 1.2.30. Always Anchor Regex
- 1.2.31. Always Positive Comparison
- 1.2.32. Always Use Function With array_key_exists()
- 1.2.33. Ambiguous Array Index
- 1.2.34. Ambiguous Static
- 1.2.35. Ambiguous Types With Variables
- 1.2.36. Ambiguous Visibilities
- 1.2.37. An OOP Factory
- 1.2.38. Anonymous Classes
- 1.2.39. Append And Assign Arrays
- 1.2.40. Argon2 Usage
- 1.2.41. Argument Counts Per Calls
- 1.2.42. Argument Should Be Typehinted
- 1.2.43. Array Access On Literal Array
- 1.2.44. Array Addition
- 1.2.45. Array Index
- 1.2.46. Array With String Initialization
- 1.2.47. Array() / [ ] Consistence
- 1.2.48. Array_Fill() With Objects
- 1.2.49. Array_Map() Passes By Value
- 1.2.50. Array_merge Needs Array Of Arrays
- 1.2.51. Assert Function Is Reserved
- 1.2.52. Assertions
- 1.2.53. Assign And Compare
- 1.2.54. Assign And Lettered Logical Operator Precedence
- 1.2.55. Assign Default To Properties
- 1.2.56. Assigned In One Branch
- 1.2.57. Assigned Twice
- 1.2.58. Assumptions
- 1.2.59. Autoappend
- 1.2.60. Autoloading
- 1.2.61. Avoid Compare Typed Boolean
- 1.2.62. Avoid Concat In Loop
- 1.2.63. Avoid Large Array Assignation
- 1.2.64. Avoid Optional Properties
- 1.2.65. Avoid Parenthesis With Language Construct
- 1.2.66. Avoid Real
- 1.2.67. Avoid Self In Interface
- 1.2.68. Avoid Substr() One
- 1.2.69. Avoid Those Hash Functions
- 1.2.70. Avoid Using stdClass
- 1.2.71. Avoid array_push()
- 1.2.72. Avoid array_unique()
- 1.2.73. Avoid get_class()
- 1.2.74. Avoid get_object_vars()
- 1.2.75. Avoid glob() Usage
- 1.2.76. Avoid mb_dectect_encoding()
- 1.2.77. Avoid option arrays in constructors
- 1.2.78. Avoid set_error_handler $context Argument
- 1.2.79. Avoid sleep()/usleep()
- 1.2.80. Bad Constants Names
- 1.2.81. Bad Type Relay
- 1.2.82. Bail Out Early
- 1.2.83. Binary Glossary
- 1.2.84. Blind Variable Used Beyond Loop
- 1.2.85. Blind Variables
- 1.2.86. Bracketless Blocks
- 1.2.87. Break Outside Loop
- 1.2.88. Break With 0
- 1.2.89. Break With Non Integer
- 1.2.90. Buried Assignation
- 1.2.91. Cache Variable Outside Loop
- 1.2.92. Call Order
- 1.2.93. Callback Function Needs Return
- 1.2.94. Calling Static Trait Method
- 1.2.95. Calltime Pass By Reference
- 1.2.96. Can’t Call Generator
- 1.2.97. Can’t Count Non-Countable
- 1.2.98. Can’t Disable Class
- 1.2.99. Can’t Disable Function
- 1.2.100. Can’t Extend Final
- 1.2.101. Can’t Implement Traversable
- 1.2.102. Can’t Instantiate Class
- 1.2.103. Can’t Overwrite Final Constant
- 1.2.104. Can’t Overwrite Final Method
- 1.2.105. Can’t Throw Throwable
- 1.2.106. Cancel Common Method
- 1.2.107. Cancelled Parameter
- 1.2.108. Cannot Call Static Trait Method Directly
- 1.2.109. Cannot Use Append For Reading
- 1.2.110. Cannot Use Static For Closure
- 1.2.111. Cant Inherit Abstract Method
- 1.2.112. Cant Instantiate Non Class
- 1.2.113. Cant Overload Constants
- 1.2.114. Cant Use Return Value In Write Context
- 1.2.115. Case Insensitive Constants
- 1.2.116. Cast To Boolean
- 1.2.117. Cast Unset Usage
- 1.2.118. Cast Usage
- 1.2.119. Casting Ternary
- 1.2.120. Catch Overwrite Variable
- 1.2.121. Catch With Undefined Variable
- 1.2.122. Caught Exceptions
- 1.2.123. Caught Expressions
- 1.2.124. Caught Variable
- 1.2.125. Check After Null Safe Operator
- 1.2.126. Check All Types
- 1.2.127. Check Crypto Key Length
- 1.2.128. Check Division By Zero
- 1.2.129. Check JSON
- 1.2.130. Check On __Call Usage
- 1.2.131. Checks Property Existence
- 1.2.132. Child Class Removes Typehint
- 1.2.133. Class Const With Array
- 1.2.134. Class Could Be Final
- 1.2.135. Class Could Be Readonly
- 1.2.136. Class Function Confusion
- 1.2.137. Class Has Fluent Interface
- 1.2.138. Class Injection Count
- 1.2.139. Class Invasion
- 1.2.140. Class Overreach
- 1.2.141. Class Should Be Final By Ocramius
- 1.2.142. Class Usage
- 1.2.143. Class Without Parent
- 1.2.144. Class, Interface, Enum Or Trait With Identical Names
- 1.2.145. Class-typed References
- 1.2.146. Classes Mutually Extending Each Other
- 1.2.147. Classes Names
- 1.2.148. Clone Constant
- 1.2.149. Clone Usage
- 1.2.150. Clone With Non-Object
- 1.2.151. Close Tags Consistency
- 1.2.152. Closing Tags
- 1.2.153. Closure Could Be A Callback
- 1.2.154. Closure May Use $this
- 1.2.155. Closures Glossary
- 1.2.156. Coalesce
- 1.2.157. Coalesce And Concat
- 1.2.158. Coalesce And Ternary Operators Order
- 1.2.159. Coalesce Equal
- 1.2.160. Codeigniter usage
- 1.2.161. Collect Atom Counts
- 1.2.162. Collect Block Size
- 1.2.163. Collect Calls
- 1.2.164. Collect Catch Calls
- 1.2.165. Collect Class Children Count
- 1.2.166. Collect Class Constant Counts
- 1.2.167. Collect Class Depth
- 1.2.168. Collect Class Interface Counts
- 1.2.169. Collect Class Traits Counts
- 1.2.170. Collect Classes Dependencies
- 1.2.171. Collect Compared Literals
- 1.2.172. Collect Definitions Statistics
- 1.2.173. Collect Dependency Extension
- 1.2.174. Collect Files Dependencies
- 1.2.175. Collect Global Variables
- 1.2.176. Collect Graph Triplets
- 1.2.177. Collect Literals
- 1.2.178. Collect Local Variable Counts
- 1.2.179. Collect Mbstring Encodings
- 1.2.180. Collect Method Counts
- 1.2.181. Collect Methods Throwing Exceptions
- 1.2.182. Collect Native Calls Per Expressions
- 1.2.183. Collect Parameter Counts
- 1.2.184. Collect Parameter Names
- 1.2.185. Collect Php Structures
- 1.2.186. Collect Property Counts
- 1.2.187. Collect Property Usage
- 1.2.188. Collect Readability
- 1.2.189. Collect SetLocale
- 1.2.190. Collect Static Class Changes
- 1.2.191. Collect Structures
- 1.2.192. Collect Stub Structures
- 1.2.193. Collect Throw Calls
- 1.2.194. Collect Use Counts
- 1.2.195. Collect Vendor Structures
- 1.2.196. Collects Names
- 1.2.197. Collects Variables
- 1.2.198. Combined Calls
- 1.2.199. Common Alternatives
- 1.2.200. Compare Hash
- 1.2.201. Compared But Not Assigned Strings
- 1.2.202. Compared Comparison
- 1.2.203. Comparison Is Always The Same
- 1.2.204. Comparison On Different Types
- 1.2.205. Comparisons Orientation
- 1.2.206. Complex Dynamic Names
- 1.2.207. Composer Usage
- 1.2.208. Composer’s autoload
- 1.2.209. Concat And Addition
- 1.2.210. Concat Empty String
- 1.2.211. Concatenation Interpolation Consistence
- 1.2.212. Concrete5 usage
- 1.2.213. Conditional Structures
- 1.2.214. Conditioned Constants
- 1.2.215. Conditioned Function
- 1.2.216. Configure Extract
- 1.2.217. Confusing Names
- 1.2.218. Const Or Define
- 1.2.219. Const Or Define Preference
- 1.2.220. Const Visibility Usage
- 1.2.221. Const With Array
- 1.2.222. Constant : With Or Without Use
- 1.2.223. Constant Case Preference
- 1.2.224. Constant Class
- 1.2.225. Constant Comparison
- 1.2.226. Constant Conditions
- 1.2.227. Constant Definition
- 1.2.228. Constant Dynamic Creation
- 1.2.229. Constant Order
- 1.2.230. Constant Scalar Expression
- 1.2.231. Constant Scalar Expressions
- 1.2.232. Constant Typo Looks Like A Variable
- 1.2.233. Constant Used Below
- 1.2.234. Constants Created Outside Its Namespace
- 1.2.235. Constants In Traits
- 1.2.236. Constants Names
- 1.2.237. Constants Usage
- 1.2.238. Constants With Strange Names
- 1.2.239. Constructors
- 1.2.240. Continents
- 1.2.241. Continue Is For Loop
- 1.2.242. Converted Exceptions
- 1.2.243. Cookies Variables
- 1.2.244. Could Be A Constant
- 1.2.245. Could Be A Static Variable
- 1.2.246. Could Be Abstract Class
- 1.2.247. Could Be Abstract Method
- 1.2.248. Could Be Array Typehint
- 1.2.249. Could Be Boolean
- 1.2.250. Could Be CIT
- 1.2.251. Could Be Callable
- 1.2.252. Could Be Class Constant
- 1.2.253. Could Be Constant
- 1.2.254. Could Be Else
- 1.2.255. Could Be Enumeration
- 1.2.256. Could Be Float
- 1.2.257. Could Be Generator
- 1.2.258. Could Be Null
- 1.2.259. Could Be Parent
- 1.2.260. Could Be Parent Method
- 1.2.261. Could Be Private Class Constant
- 1.2.262. Could Be Protected Class Constant
- 1.2.263. Could Be Protected Method
- 1.2.264. Could Be Protected Property
- 1.2.265. Could Be Readonly Property
- 1.2.266. Could Be Self
- 1.2.267. Could Be Spaceship
- 1.2.268. Could Be Static Closure
- 1.2.269. Could Be String
- 1.2.270. Could Be Stringable
- 1.2.271. Could Be Ternary
- 1.2.272. Could Be Type
- 1.2.273. Could Be Typehinted Callable
- 1.2.274. Could Be Void
- 1.2.275. Could Be array_combine()
- 1.2.276. Could Cast To Array
- 1.2.277. Could Drop Variable
- 1.2.278. Could Inject Parameter
- 1.2.279. Could Make A Function
- 1.2.280. Could Not Type
- 1.2.281. Could Set Property Default
- 1.2.282. Could Type With Array
- 1.2.283. Could Type With Boolean
- 1.2.284. Could Type With Int
- 1.2.285. Could Type With Iterable
- 1.2.286. Could Type With String
- 1.2.287. Could Typehint
- 1.2.288. Could Use Alias
- 1.2.289. Could Use Class Operator
- 1.2.290. Could Use Compact
- 1.2.291. Could Use Existing Constant
- 1.2.292. Could Use Match
- 1.2.293. Could Use Namespace Magic Constant
- 1.2.294. Could Use Null-Safe Object Operator
- 1.2.295. Could Use Promoted Properties
- 1.2.296. Could Use Short Assignation
- 1.2.297. Could Use Trait
- 1.2.298. Could Use Try
- 1.2.299. Could Use Yield From
- 1.2.300. Could Use __DIR__
- 1.2.301. Could Use array_fill_keys
- 1.2.302. Could Use array_sum()
- 1.2.303. Could Use array_unique
- 1.2.304. Could Use self
- 1.2.305. Could Use str_repeat()
- 1.2.306. Could Use strcontains()
- 1.2.307. Count() Is Not Negative
- 1.2.308. Count() To Array Append
- 1.2.309. Courier Anti-Pattern
- 1.2.310. Crc32() Might Be Negative
- 1.2.311. Create Compact Variables
- 1.2.312. Create Default Values
- 1.2.313. Create Foreach Default
- 1.2.314. Create Magic Method
- 1.2.315. Create Magic Property
- 1.2.316. Crypto Usage
- 1.2.317. Custom Class Usage
- 1.2.318. Custom Constant Usage
- 1.2.319. Cyclic References
- 1.2.320. Cyclomatic Complexity
- 1.2.321. DI Cyclic Dependencies
- 1.2.322. Dangling Array References
- 1.2.323. Date Formats
- 1.2.324. DateTimeImmutable Is Not Immutable
- 1.2.325. Declare Global Early
- 1.2.326. Declare Static Once
- 1.2.327. Declare strict_types Usage
- 1.2.328. Deep Definitions
- 1.2.329. Default Then Discard
- 1.2.330. Define Constants With Array
- 1.2.331. Defined Class Constants
- 1.2.332. Defined Exceptions
- 1.2.333. Defined Parent MP
- 1.2.334. Defined Properties
- 1.2.335. Defined static:: Or self::
- 1.2.336. Definitions Only
- 1.2.337. Dependant Abstract Classes
- 1.2.338. Dependant Trait
- 1.2.339. Dependency Injection
- 1.2.340. Deprecated Callable
- 1.2.341. Deprecated Mb_string Encodings
- 1.2.342. Deprecated PHP Functions
- 1.2.343. Dereferencing Levels
- 1.2.344. Dereferencing String And Arrays
- 1.2.345. Detect Current Class
- 1.2.346. Die Exit Consistence
- 1.2.347. Difference Consistence
- 1.2.348. Different Argument Counts
- 1.2.349. Different Constructors
- 1.2.350. Direct Call To __clone()
- 1.2.351. Direct Injection
- 1.2.352. Directives Usage
- 1.2.353. Directly Use File
- 1.2.354. Disconnected Classes
- 1.2.355. Displays Text
- 1.2.356. Dl() Usage
- 1.2.357. Do In Base
- 1.2.358. Do Not Cast To Int
- 1.2.359. Dollar Curly Interpolation Is Deprecated
- 1.2.360. Don’t Add Seconds
- 1.2.361. Don’t Be Too Manual
- 1.2.362. Don’t Change Incomings
- 1.2.363. Don’t Change The Blind Var
- 1.2.364. Don’t Collect Void
- 1.2.365. Don’t Echo Error
- 1.2.366. Don’t Loop On Yield
- 1.2.367. Don’t Mix ++
- 1.2.368. Don’t Pollute Global Space
- 1.2.369. Don’t Read And Write In One Expression
- 1.2.370. Don’t Reuse Foreach Source
- 1.2.371. Don’t Send $this In Constructor
- 1.2.372. Don’t Unset Properties
- 1.2.373. Don’t Use The Type As Variable Name
- 1.2.374. Double Assignation
- 1.2.375. Double Checks
- 1.2.376. Double Instructions
- 1.2.377. Double Object Assignation
- 1.2.378. Double array_flip()
- 1.2.379. Drop Else After Return
- 1.2.380. Drop Substr Last Arg
- 1.2.381. Drupal Usage
- 1.2.382. Duplicate Calls
- 1.2.383. Duplicate Literal
- 1.2.384. Duplicate Named Parameter
- 1.2.385. Dynamic Calls
- 1.2.386. Dynamic Class Constant
- 1.2.387. Dynamic Classes
- 1.2.388. Dynamic Code
- 1.2.389. Dynamic Function Call
- 1.2.390. Dynamic Library Loading
- 1.2.391. Dynamic Methodcall
- 1.2.392. Dynamic New
- 1.2.393. Dynamic Property
- 1.2.394. Dynamic Self Calls
- 1.2.395. Dynamically Called Classes
- 1.2.396. Echo Or Print
- 1.2.397. Echo With Concat
- 1.2.398. Ellipsis Merge
- 1.2.399. Ellipsis Usage
- 1.2.400. Else If Versus Elseif
- 1.2.401. Else Usage
- 1.2.402. Email Addresses
- 1.2.403. Empty Array Detection
- 1.2.404. Empty Blocks
- 1.2.405. Empty Classes
- 1.2.406. Empty Final Element In Array
- 1.2.407. Empty Function
- 1.2.408. Empty Instructions
- 1.2.409. Empty Interfaces
- 1.2.410. Empty Json Error
- 1.2.411. Empty List
- 1.2.412. Empty Loop
- 1.2.413. Empty Namespace
- 1.2.414. Empty Slots In Arrays
- 1.2.415. Empty Traits
- 1.2.416. Empty Try Catch
- 1.2.417. Empty With Expression
- 1.2.418. Encoded Simple Letters
- 1.2.419. Encoding Usage
- 1.2.420. Enum Case Values
- 1.2.421. Enum Usage
- 1.2.422. Environment Variable Usage
- 1.2.423. Environment Variables
- 1.2.424. Environment Variables
- 1.2.425. Error Messages
- 1.2.426. Error_Log() Usage
- 1.2.427. Eval() Usage
- 1.2.428. Exceeding Typehint
- 1.2.429. Exception Order
- 1.2.430. Excimer
- 1.2.431. Exit Without Argument
- 1.2.432. Exit() Usage
- 1.2.433. Exit-like Methods
- 1.2.434. Exponent Usage
- 1.2.435. Extended Typehints
- 1.2.436. Extends stdClass
- 1.2.437. Extensions yar
- 1.2.438. Extensions/Exttaint
- 1.2.439. External Config Files
- 1.2.440. Ez cms usage
- 1.2.441. Failed Substr() Comparison
- 1.2.442. Failing Analysis
- 1.2.443. Fallback Function
- 1.2.444. False To Array Conversion
- 1.2.445. Favorite Casting Method
- 1.2.446. Feast usage
- 1.2.447. Fetch One Row Format
- 1.2.448. File Is Component
- 1.2.449. File Is Not Definitions Only
- 1.2.450. File Uploads
- 1.2.451. File Usage
- 1.2.452. File_Put_Contents Using Array Argument
- 1.2.453. Filter Not Raw
- 1.2.454. Filter To add_slashes()
- 1.2.455. Final Class Usage
- 1.2.456. Final Constant
- 1.2.457. Final Methods Usage
- 1.2.458. Final Private Methods
- 1.2.459. Final Traits Are Final
- 1.2.460. Find Key Directly
- 1.2.461. First Class Callable
- 1.2.462. Flexible Heredoc
- 1.2.463. Float Conversion As Index
- 1.2.464. Fn Argument Variable Confusion
- 1.2.465. Follow Closure Definition
- 1.2.466. Fopen Binary Mode
- 1.2.467. For Using Functioncall
- 1.2.468. Foreach Don’t Change Pointer
- 1.2.469. Foreach Needs Reference Array
- 1.2.470. Foreach On Object
- 1.2.471. Foreach Reference Is Not Modified
- 1.2.472. Foreach With list()
- 1.2.473. Foreach() Favorite
- 1.2.474. Forgotten Interface
- 1.2.475. Forgotten Thrown
- 1.2.476. Forgotten Visibility
- 1.2.477. Forgotten Whitespace
- 1.2.478. Fossilized Method
- 1.2.479. Fossilized Methods List
- 1.2.480. Friend Attribute
- 1.2.481. Fuel PHP Usage
- 1.2.482. Fully Qualified Constants
- 1.2.483. Function Called With Other Case Than Defined
- 1.2.484. Function Subscripting
- 1.2.485. Function Subscripting, Old Style
- 1.2.486. Function With Dynamic Code
- 1.2.487. Functioncall Is Global
- 1.2.488. Functions Glossary
- 1.2.489. Functions In Loop Calls
- 1.2.490. Functions Removed In PHP 5.4
- 1.2.491. Functions Removed In PHP 5.5
- 1.2.492. Functions Using Reference
- 1.2.493. GLOB_BRACE Usage
- 1.2.494. GPRC Aliases
- 1.2.495. Generator Cannot Return
- 1.2.496. Geospatial
- 1.2.497. Getter And Setter
- 1.2.498. Getting Last Element
- 1.2.499. Global Code Only
- 1.2.500. Global Definitions
- 1.2.501. Global Import
- 1.2.502. Global In Global
- 1.2.503. Global Inside Loop
- 1.2.504. Global Usage
- 1.2.505. Globals
- 1.2.506. Goto Names
- 1.2.507. Group Use Declaration
- 1.2.508. Group Use Trailing Comma
- 1.2.509. HTTP Status Code
- 1.2.510. Handle Arrays With Callback
- 1.2.511. Hardcoded Passwords
- 1.2.512. Has Magic Method
- 1.2.513. Has Variable Arguments
- 1.2.514. Hash Algorithms
- 1.2.515. Hash Algorithms Incompatible With PHP 5.3
- 1.2.516. Hash Algorithms Incompatible With PHP 5.4/5.5
- 1.2.517. Hash Algorithms Incompatible With PHP 7.1-
- 1.2.518. Hash Algorithms Incompatible With PHP 7.4-
- 1.2.519. Hash Will Use Objects
- 1.2.520. Heredoc Delimiter
- 1.2.521. Heredoc Delimiter Glossary
- 1.2.522. Hexadecimal Glossary
- 1.2.523. Hexadecimal In String
- 1.2.524. Hidden Nullable Typehint
- 1.2.525. Hidden Use Expression
- 1.2.526. Htmlentities Calls
- 1.2.527. Htmlentities Using Default Flag
- 1.2.528. Http Headers
- 1.2.529. Ice framework
- 1.2.530. Iconv With Translit
- 1.2.531. Identical Case In Switch
- 1.2.532. Identical Conditions
- 1.2.533. Identical Consecutive Expression
- 1.2.534. Identical Elseif
- 1.2.535. Identical Methods
- 1.2.536. Identical On Both Sides
- 1.2.537. Identical Variables In Foreach
- 1.2.538. Identity
- 1.2.539. If Then Return Favorite
- 1.2.540. If With Same Conditions
- 1.2.541. Iffectations
- 1.2.542. Illegal Name For Method
- 1.2.543. Immutable Signature
- 1.2.544. Implemented Methods Must Be Public
- 1.2.545. Implements Is For Interface
- 1.2.546. Implicit Conversion To Int
- 1.2.547. Implicit Global
- 1.2.548. Implied If
- 1.2.549. Implode One Arg
- 1.2.550. Implode() Arguments Order
- 1.2.551. Inclusion Wrong Case
- 1.2.552. Inclusions
- 1.2.553. Inclusions
- 1.2.554. Incoming Date Formats
- 1.2.555. Incoming Values
- 1.2.556. Incoming Variable Index Inventory
- 1.2.557. Incoming Variables
- 1.2.558. Incompatible Property Between Class And Trait
- 1.2.559. Incompatible Signature Methods
- 1.2.560. Incompatible Signature Methods With Covariance
- 1.2.561. Incompatible Types With Incoming Values
- 1.2.562. Incompilable Files
- 1.2.563. Inconsistent Concatenation
- 1.2.564. Inconsistent Elseif
- 1.2.565. Inconsistent Variable Usage
- 1.2.566. Indentation Levels
- 1.2.567. Indices Are Int Or String
- 1.2.568. Indirect Injection
- 1.2.569. Infinite Recursion
- 1.2.570. Inherited Class Constant Visibility
- 1.2.571. Inherited Property Type Must Match
- 1.2.572. Inherited Static Variable
- 1.2.573. Init Then Update
- 1.2.574. Injectable Version
- 1.2.575. Insecure Integer Validation
- 1.2.576. Instantiating Abstract Class
- 1.2.577. Insufficient Property Typehint
- 1.2.578. Insufficient Typehint
- 1.2.579. Integer As Property
- 1.2.580. Interface Arguments
- 1.2.581. Interface Methods
- 1.2.582. Interfaces Don’t Ensure Properties
- 1.2.583. Interfaces Is Not Implemented
- 1.2.584. Interfaces Names
- 1.2.585. Interfaces Usage
- 1.2.586. Internally Used Properties
- 1.2.587. Internet Domains
- 1.2.588. Internet Ports
- 1.2.589. Interpolation
- 1.2.590. Intersection Typehint
- 1.2.591. Invalid Cast
- 1.2.592. Invalid Constant Name
- 1.2.593. Invalid Date Scanning Format
- 1.2.594. Invalid Octal In String
- 1.2.595. Invalid Pack Format
- 1.2.596. Invalid Regex
- 1.2.597. Ip
- 1.2.598. Is A Magic Property
- 1.2.599. Is Actually Zero
- 1.2.600. Is An Extension Class
- 1.2.601. Is An Extension Constant
- 1.2.602. Is An Extension Function
- 1.2.603. Is An Extension Interface
- 1.2.604. Is CLI Script
- 1.2.605. Is Extension Structure
- 1.2.606. Is Extension Trait
- 1.2.607. Is Global Constant
- 1.2.608. Is Interface Method
- 1.2.609. Is Library
- 1.2.610. Is Not Class Family
- 1.2.611. Is PHP Constant
- 1.2.612. Is PHP Structure
- 1.2.613. Is Stub Structure
- 1.2.614. Is Upper Family
- 1.2.615. Is_A() With String
- 1.2.616. Isset Multiple Arguments
- 1.2.617. Isset() On The Whole Array
- 1.2.618. Joining file()
- 1.2.619. Joomla usage
- 1.2.620. Json_encode() Without Exceptions
- 1.2.621. Keep Files Access Restricted
- 1.2.622. Labels
- 1.2.623. Laravel usage
- 1.2.624. Large Try Block
- 1.2.625. Law of Demeter
- 1.2.626. Links Between Parameter And Argument
- 1.2.627. Linux Only Files
- 1.2.628. List Short Syntax
- 1.2.629. List With Array Appends
- 1.2.630. List With Keys
- 1.2.631. List With Reference
- 1.2.632. Local Globals
- 1.2.633. Locally Unused Property
- 1.2.634. Locally Used Property
- 1.2.635. Locally Used Property In Trait
- 1.2.636. Logical Mistakes
- 1.2.637. Logical Operators Favorite
- 1.2.638. Logical Should Use Symbolic Operators
- 1.2.639. Logical To in_array
- 1.2.640. Lone Blocks
- 1.2.641. Long Arguments
- 1.2.642. Long Preparation For Throw
- 1.2.643. Lost References
- 1.2.644. Lowered Access Level
- 1.2.645. Magic Constant Usage
- 1.2.646. Magic Method Returntype Is Restricted
- 1.2.647. Magic Methods
- 1.2.648. Magic Properties
- 1.2.649. Magic Visibility
- 1.2.650. Mail Usage
- 1.2.651. Make All Statics
- 1.2.652. Make Class Method Definition
- 1.2.653. Make Functioncall With Reference
- 1.2.654. Make Global A Property
- 1.2.655. Make Magic Concrete
- 1.2.656. Make One Call With Array
- 1.2.657. Makes Class Constant Definition
- 1.2.658. Malformed Octal
- 1.2.659. Manipulates INF
- 1.2.660. Manipulates NaN
- 1.2.661. Mass Creation Of Arrays
- 1.2.662. Max Level Of Nesting
- 1.2.663. Maybe Missing New
- 1.2.664. Mbstring Third Arg
- 1.2.665. Mbstring Unknown Encoding
- 1.2.666. Mbstring Unknown Encodings
- 1.2.667. Md5 Strings
- 1.2.668. Memoize MagicCall
- 1.2.669. Merge If Then
- 1.2.670. Method Collision Traits
- 1.2.671. Method Could Be Private Method
- 1.2.672. Method Could Be Static
- 1.2.673. Method Has Fluent Interface
- 1.2.674. Method Is A Generator
- 1.2.675. Method Is Not An If
- 1.2.676. Method Is Not For Fluent Interface
- 1.2.677. Method Is Overwritten
- 1.2.678. Method Property Confusion
- 1.2.679. Method Signature Must Be Compatible
- 1.2.680. Method Usage
- 1.2.681. Method Used Below
- 1.2.682. Methodcall On New
- 1.2.683. Methods That Should Not Be Used
- 1.2.684. Methods Without Return
- 1.2.685. Mime Types
- 1.2.686. Minus One On Error
- 1.2.687. Mismatch Parameter And Type
- 1.2.688. Mismatch Parameter Name
- 1.2.689. Mismatch Properties Typehints
- 1.2.690. Mismatch Type And Default
- 1.2.691. Mismatched Default Arguments
- 1.2.692. Mismatched Ternary Alternatives
- 1.2.693. Mismatched Typehint
- 1.2.694. Missing Abstract Method
- 1.2.695. Missing Assignation In Command
- 1.2.696. Missing Attribute Attribute
- 1.2.697. Missing Cases In Switch
- 1.2.698. Missing Include
- 1.2.699. Missing Parenthesis
- 1.2.700. Missing Some Returntype
- 1.2.701. Missing Type In Definition
- 1.2.702. Missing Typehint
- 1.2.703. Missing Visibility
- 1.2.704. Missing __isset() Method
- 1.2.705. Mistaken Concatenation
- 1.2.706. Misused Yield
- 1.2.707. Mixed Concat And Interpolation
- 1.2.708. Mixed Keys In Array
- 1.2.709. Mixed Keyword
- 1.2.710. Mixed Typehint Usage
- 1.2.711. Mkdir Default
- 1.2.712. Modernize Empty With Expression
- 1.2.713. Modified Typed Parameter
- 1.2.714. Modify Immutable
- 1.2.715. Mono Or Multibytes Favorite
- 1.2.716. More Than One Level Of Indentation
- 1.2.717. Multidimensional Arrays
- 1.2.718. Multiline Expressions
- 1.2.719. Multiple Alias Definitions
- 1.2.720. Multiple Alias Definitions Per File
- 1.2.721. Multiple Catch
- 1.2.722. Multiple Class Declarations
- 1.2.723. Multiple Classes In One File
- 1.2.724. Multiple Constant Definition
- 1.2.725. Multiple Declaration Of Strict_types
- 1.2.726. Multiple Definition Of The Same Argument
- 1.2.727. Multiple Exceptions Catch()
- 1.2.728. Multiple Functions Declarations
- 1.2.729. Multiple Identical Closure
- 1.2.730. Multiple Identical Trait Or Interface
- 1.2.731. Multiple Index Definition
- 1.2.732. Multiple Property Declaration
- 1.2.733. Multiple Property Declaration On One Line
- 1.2.734. Multiple Returns
- 1.2.735. Multiple Similar Calls
- 1.2.736. Multiple Type Cases In Switch
- 1.2.737. Multiple Type Variable
- 1.2.738. Multiple Unset()
- 1.2.739. Multiple Usage Of Same Trait
- 1.2.740. Multiples Identical Case
- 1.2.741. Multiply By One
- 1.2.742. Must Call Parent Constructor
- 1.2.743. Must Return Methods
- 1.2.744. Named Argument And Variadic
- 1.2.745. Named Parameter Usage
- 1.2.746. Named Regex
- 1.2.747. Namespaces
- 1.2.748. Namespaces Glossary
- 1.2.749. Native Alias Functions Usage
- 1.2.750. Negative Power
- 1.2.751. Negative Start Index In Array
- 1.2.752. Nested Attributes
- 1.2.753. Nested Ifthen
- 1.2.754. Nested Loops
- 1.2.755. Nested Match
- 1.2.756. Nested Ternary
- 1.2.757. Nested Ternary Without Parenthesis
- 1.2.758. Never Called Parameter
- 1.2.759. Never Keyword
- 1.2.760. Never Typehint Usage
- 1.2.761. Never Used Properties
- 1.2.762. New Constants In PHP 7.2
- 1.2.763. New Constants In PHP 7.4
- 1.2.764. New Dynamic Class Constant Syntax
- 1.2.765. New Functions In PHP 5.4
- 1.2.766. New Functions In PHP 5.5
- 1.2.767. New Functions In PHP 5.6
- 1.2.768. New Functions In PHP 7.0
- 1.2.769. New Functions In PHP 7.1
- 1.2.770. New Functions In PHP 7.2
- 1.2.771. New Functions In PHP 7.3
- 1.2.772. New Functions In PHP 7.4
- 1.2.773. New Functions In PHP 8.0
- 1.2.774. New Functions In PHP 8.1
- 1.2.775. New Functions In PHP 8.2
- 1.2.776. New Functions In PHP 8.3
- 1.2.777. New Initializers
- 1.2.778. New Line Style
- 1.2.779. New Object Then Immediate Call
- 1.2.780. New On Functioncall Or Identifier
- 1.2.781. New Order
- 1.2.782. Next Month Trap
- 1.2.783. No Append On Source
- 1.2.784. No Boolean As Default
- 1.2.785. No Choice
- 1.2.786. No Class As Typehint
- 1.2.787. No Class In Global
- 1.2.788. No Constructor In Interface
- 1.2.789. No Count With 0
- 1.2.790. No Default For Referenced Parameter
- 1.2.791. No Direct Access
- 1.2.792. No Direct Call To Magic Method
- 1.2.793. No Direct Usage
- 1.2.794. No ENT_IGNORE
- 1.2.795. No Empty Regex
- 1.2.796. No Empty String With explode()
- 1.2.797. No Hardcoded Hash
- 1.2.798. No Hardcoded Ip
- 1.2.799. No Hardcoded Path
- 1.2.800. No Hardcoded Port
- 1.2.801. No Initial S In Variable Names
- 1.2.802. No Keyword In Namespace
- 1.2.803. No List With String
- 1.2.804. No Literal For Reference
- 1.2.805. No Magic Method For Enum
- 1.2.806. No Magic Method With Array
- 1.2.807. No Max On Empty Array
- 1.2.808. No More Curly Arrays
- 1.2.809. No Need For Else
- 1.2.810. No Need For Triple Equal
- 1.2.811. No Need For get_class()
- 1.2.812. No Net For Xml Load
- 1.2.813. No Null For Index
- 1.2.814. No Null For Native PHP Functions
- 1.2.815. No Null With Null Safe Operator
- 1.2.816. No Object As Index
- 1.2.817. No Parenthesis For Language Construct
- 1.2.818. No Plus One
- 1.2.819. No Private Abstract Method In Trait
- 1.2.820. No Public Access
- 1.2.821. No Readonly Assignation In Global
- 1.2.822. No Real Comparison
- 1.2.823. No Reference For Static Property
- 1.2.824. No Reference For Ternary
- 1.2.825. No Reference On Left Side
- 1.2.826. No Referenced Void
- 1.2.827. No Return For Generator
- 1.2.828. No Return Or Throw In Finally
- 1.2.829. No Return Used
- 1.2.830. No Self Referencing Constant
- 1.2.831. No Spread For Hash
- 1.2.832. No Static Variable In A Method
- 1.2.833. No String With Append
- 1.2.834. No Substr Minus One
- 1.2.835. No Valid Cast
- 1.2.836. No Variable Needed
- 1.2.837. No Weak SSL Crypto
- 1.2.838. No array_merge() In Loops
- 1.2.839. No get_class() With Null
- 1.2.840. No isset() With empty()
- 1.2.841. No mb_substr In Loop
- 1.2.842. Non Ascii Variables
- 1.2.843. Non Breakable Space In Names
- 1.2.844. Non Integer Nor String As Index
- 1.2.845. Non Nullable Getters
- 1.2.846. Non Static Methods Called In A Static
- 1.2.847. Non-constant Index In Array
- 1.2.848. Non-lowercase Keywords
- 1.2.849. Nonexistent Variable In compact()
- 1.2.850. Normal Methods
- 1.2.851. Not A Scalar Type
- 1.2.852. Not Equal Is Not !==
- 1.2.853. Not Not
- 1.2.854. Not Or Tilde
- 1.2.855. Not Same Name As File
- 1.2.856. Nowdoc Delimiter Glossary
- 1.2.857. Null On New
- 1.2.858. Null Or Boolean Arrays
- 1.2.859. Null Type Favorite
- 1.2.860. Nullable With Constant
- 1.2.861. Nullable Without Check
- 1.2.862. Numeric Literal Separator
- 1.2.863. Objects Don’t Need References
- 1.2.864. Octal Glossary
- 1.2.865. Old Style Constructor
- 1.2.866. Old Style __autoload()
- 1.2.867. One Dot Or Object Operator Per Line
- 1.2.868. One Expression Brackets Consistency
- 1.2.869. One If Is Sufficient
- 1.2.870. One Letter Functions
- 1.2.871. One Object Operator Per Line
- 1.2.872. One Variable String
- 1.2.873. Only First Byte
- 1.2.874. Only Static Methods Class
- 1.2.875. Only Variable For Reference
- 1.2.876. Only Variable Passed By Reference
- 1.2.877. Only Variable Passed By Reference
- 1.2.878. Only Variable Returned By Reference
- 1.2.879. OpenSSL Ciphers Used
- 1.2.880. Openssl Encrypt Default Algorithm Change
- 1.2.881. Optimize Explode()
- 1.2.882. Optional Parameter
- 1.2.883. Or Die
- 1.2.884. Order Of Declaration
- 1.2.885. Overload Existing Names
- 1.2.886. Override
- 1.2.887. Overwriting Variable
- 1.2.888. Overwritten Class Constants
- 1.2.889. Overwritten Constant
- 1.2.890. Overwritten Exceptions
- 1.2.891. Overwritten Foreach Var
- 1.2.892. Overwritten Literals
- 1.2.893. Overwritten Methods
- 1.2.894. Overwritten Properties
- 1.2.895. Overwritten Source And Value
- 1.2.896. PHP 7.0 New Classes
- 1.2.897. PHP 7.0 New Interfaces
- 1.2.898. PHP 7.0 Removed Directives
- 1.2.899. PHP 7.0 Removed Functions
- 1.2.900. PHP 7.0 Scalar Typehints
- 1.2.901. PHP 7.1 Microseconds
- 1.2.902. PHP 7.1 Removed Directives
- 1.2.903. PHP 7.1 Scalar Typehints
- 1.2.904. PHP 7.2 Deprecations
- 1.2.905. PHP 7.2 Object Keyword
- 1.2.906. PHP 7.2 Removed Functions
- 1.2.907. PHP 7.2 Scalar Typehints
- 1.2.908. PHP 7.3 Last Empty Argument
- 1.2.909. PHP 7.3 Removed Functions
- 1.2.910. PHP 7.4 Constant Deprecation
- 1.2.911. PHP 7.4 Removed Directives
- 1.2.912. PHP 7.4 Removed Functions
- 1.2.913. PHP 7.4 Reserved Keyword
- 1.2.914. PHP 74 New Directives
- 1.2.915. PHP 8.0 Removed Constants
- 1.2.916. PHP 8.0 Removed Directives
- 1.2.917. PHP 8.0 Removed Functions
- 1.2.918. PHP 8.0 Resources Turned Into Objects
- 1.2.919. PHP 8.0 Typehints
- 1.2.920. PHP 8.1 New Types
- 1.2.921. PHP 8.1 Removed Constants
- 1.2.922. PHP 8.1 Removed Directives
- 1.2.923. PHP 8.1 Removed Functions
- 1.2.924. PHP 8.1 Resources Turned Into Objects
- 1.2.925. PHP 8.1 Typehints
- 1.2.926. PHP 8.2 New Types
- 1.2.927. PHP 80 Named Parameter Variadic
- 1.2.928. PHP Alternative Syntax
- 1.2.929. PHP Arrays Index
- 1.2.930. PHP Bugfixes
- 1.2.931. PHP Constant Usage
- 1.2.932. PHP Exception
- 1.2.933. PHP Handlers Usage
- 1.2.934. PHP Interfaces
- 1.2.935. PHP Keywords As Names
- 1.2.936. PHP Native Attributes
- 1.2.937. PHP Native Class Type Compatibility
- 1.2.938. PHP Native Interfaces and Return Type
- 1.2.939. PHP Overridden Function
- 1.2.940. PHP Sapi
- 1.2.941. PHP Variables
- 1.2.942. PHP5 Indirect Variable Expression
- 1.2.943. PHP7 Dirname
- 1.2.944. PSR-11 Usage
- 1.2.945. PSR-13 Usage
- 1.2.946. PSR-16 Usage
- 1.2.947. PSR-3 Usage
- 1.2.948. PSR-6 Usage
- 1.2.949. PSR-7 Usage
- 1.2.950. Pack Format Inventory
- 1.2.951. Parameter Hiding
- 1.2.952. Parent First
- 1.2.953. Parent Is Not Static
- 1.2.954. Parent, Static Or Self Outside Class
- 1.2.955. Parenthesis As Parameter
- 1.2.956. Path lists
- 1.2.957. Pathinfo() Returns May Vary
- 1.2.958. Pear Usage
- 1.2.959. Perl Regex
- 1.2.960. Phalcon Usage
- 1.2.961. Php 7 Indirect Expression
- 1.2.962. Php 7.1 New Class
- 1.2.963. Php 7.2 New Class
- 1.2.964. Php 7.4 New Classes
- 1.2.965. Php 8.0 Only TypeHints
- 1.2.966. Php 8.0 Variable Syntax Tweaks
- 1.2.967. Php 8.3 New Classes
- 1.2.968. Php Ext Stub Property And Method
- 1.2.969. Php Native Reference Variable
- 1.2.970. Php7 Relaxed Keyword
- 1.2.971. Phpinfo
- 1.2.972. Plus Plus Used On Strings
- 1.2.973. Possible Alias Confusion
- 1.2.974. Possible Increment
- 1.2.975. Possible Infinite Loop
- 1.2.976. Possible Interfaces
- 1.2.977. Possible Missing Subpattern
- 1.2.978. Possible TypeError
- 1.2.979. Pre-Calculate Use
- 1.2.980. Pre-increment
- 1.2.981. Prefix And Suffixes With Typehint
- 1.2.982. Preprocess Arrays
- 1.2.983. Preprocessable
- 1.2.984. Print And Die
- 1.2.985. Printf Format Inventory
- 1.2.986. Printf Number Of Arguments
- 1.2.987. Processing Collector
- 1.2.988. Promoted Properties
- 1.2.989. Propagate Constants
- 1.2.990. Properties Declaration Consistence
- 1.2.991. Property Cannot Be Readonly
- 1.2.992. Property Could Be Local
- 1.2.993. Property Could Be Private
- 1.2.994. Property Export
- 1.2.995. Property Invasion
- 1.2.996. Property Names
- 1.2.997. Property Used Above
- 1.2.998. Property Used Below
- 1.2.999. Property Used In One Method Only
- 1.2.1000. Property Variable Confusion
- 1.2.1001. Protocol lists
- 1.2.1002. Public Reach To Private Methods
- 1.2.1003. Queries In Loops
- 1.2.1004. Raised Access Level
- 1.2.1005. Random Without Try
- 1.2.1006. Random extension
- 1.2.1007. Randomly Sorted Arrays
- 1.2.1008. Readonly Property Changed By Cloning
- 1.2.1009. Readonly Usage
- 1.2.1010. Real Functions
- 1.2.1011. Real Variables
- 1.2.1012. Recalled Condition
- 1.2.1013. Recursive Functions
- 1.2.1014. Recycled Variables
- 1.2.1015. Redeclared PHP Functions
- 1.2.1016. Redeclared Static Variable
- 1.2.1017. Redefined Class Constants
- 1.2.1018. Redefined Default
- 1.2.1019. Redefined Methods
- 1.2.1020. Redefined PHP Traits
- 1.2.1021. Redefined Private Property
- 1.2.1022. Redefined Property
- 1.2.1023. Reflection Export() Is Deprecated
- 1.2.1024. Regex Delimiter
- 1.2.1025. Regex Inventory
- 1.2.1026. Regex On Arrays
- 1.2.1027. Register Globals
- 1.2.1028. Relay Function
- 1.2.1029. Repeated Interface
- 1.2.1030. Repeated Regex
- 1.2.1031. Repeated print()
- 1.2.1032. Reserved Keywords In PHP 7
- 1.2.1033. Reserved Match Keyword
- 1.2.1034. Reserved Methods
- 1.2.1035. Resources Usage
- 1.2.1036. Restrict Global Usage
- 1.2.1037. Results May Be Missing
- 1.2.1038. Rethrown Exceptions
- 1.2.1039. Return True False
- 1.2.1040. Return Typehint Usage
- 1.2.1041. Return With Parenthesis
- 1.2.1042. Return void
- 1.2.1043. Retyped Reference
- 1.2.1044. Reuse Existing Variable
- 1.2.1045. Rewrote Final Class Constant
- 1.2.1046. SQL queries
- 1.2.1047. Safe Curl Options
- 1.2.1048. Safe HTTP Headers
- 1.2.1049. Safe Phpvariables
- 1.2.1050. Same Conditions In Condition
- 1.2.1051. Same Name For Property And Method
- 1.2.1052. Same Variable Foreach
- 1.2.1053. Scalar Are Not Arrays
- 1.2.1054. Scalar Or Object Property
- 1.2.1055. Scalar Typehint Usage
- 1.2.1056. Scope Resolution Operator
- 1.2.1057. Searching For Multiple Keys
- 1.2.1058. Self Using Trait
- 1.2.1059. Self-Transforming Variables
- 1.2.1060. Semantic Typing
- 1.2.1061. Sensitive Argument
- 1.2.1062. Sequences In For
- 1.2.1063. Serialize Magic Method
- 1.2.1064. Session Lazy Write
- 1.2.1065. Session Variables
- 1.2.1066. Set Array Class Definition
- 1.2.1067. Set Aside Code
- 1.2.1068. Set Chaining Exception
- 1.2.1069. Set Class Method Remote Definition
- 1.2.1070. Set Class Property Definition With Typehint
- 1.2.1071. Set Class Remote Definition With Global
- 1.2.1072. Set Class Remote Definition With Injection
- 1.2.1073. Set Class Remote Definition With Local New
- 1.2.1074. Set Class Remote Definition With Parenthesis
- 1.2.1075. Set Class Remote Definition With Return Typehint
- 1.2.1076. Set Class Remote Definition With Typehint
- 1.2.1077. Set Clone Link
- 1.2.1078. Set Cookie Safe Arguments
- 1.2.1079. Set Method Fnp
- 1.2.1080. Set Parent Definition
- 1.2.1081. Set class_alias() Definition
- 1.2.1082. Setlocale() Uses Constants
- 1.2.1083. Several Instructions On The Same Line
- 1.2.1084. Shell Favorite
- 1.2.1085. Shell Usage
- 1.2.1086. Shell commands
- 1.2.1087. Short Open Tags
- 1.2.1088. Short Or Complete Comparison
- 1.2.1089. Short Syntax For Arrays
- 1.2.1090. Short Ternary
- 1.2.1091. Should Be Single Quote
- 1.2.1092. Should Cache Local
- 1.2.1093. Should Chain Exception
- 1.2.1094. Should Deep Clone
- 1.2.1095. Should Have Destructor
- 1.2.1096. Should Make Alias
- 1.2.1097. Should Preprocess Chr()
- 1.2.1098. Should Typecast
- 1.2.1099. Should Use Coalesce
- 1.2.1100. Should Use Existing Constants
- 1.2.1101. Should Use Explode Args
- 1.2.1102. Should Use Foreach
- 1.2.1103. Should Use Function
- 1.2.1104. Should Use Local Class
- 1.2.1105. Should Use Math
- 1.2.1106. Should Use Operator
- 1.2.1107. Should Use Prepared Statement
- 1.2.1108. Should Use SetCookie()
- 1.2.1109. Should Use Ternary Operator
- 1.2.1110. Should Use Url Query Functions
- 1.2.1111. Should Use array_column()
- 1.2.1112. Should Use array_filter()
- 1.2.1113. Should Use session_regenerateid()
- 1.2.1114. Should Yield With Key
- 1.2.1115. Sidelined Method
- 1.2.1116. Signature Trailing Comma
- 1.2.1117. Silently Cast Integer
- 1.2.1118. Similar Integers
- 1.2.1119. Simple Global Variable
- 1.2.1120. Simple Switch And Match
- 1.2.1121. Simplify Foreach
- 1.2.1122. Simplify Regex
- 1.2.1123. Single Use Variables
- 1.2.1124. Skip Empty Array
- 1.2.1125. Slice Arrays First
- 1.2.1126. Slow Functions
- 1.2.1127. Solve Trait Constants
- 1.2.1128. Solve Trait Methods
- 1.2.1129. Special Integers
- 1.2.1130. Spread Operator For Array
- 1.2.1131. Sprintf Format Compilation
- 1.2.1132. Sqlite3 Requires Single Quotes
- 1.2.1133. StandaloneType True False Null
- 1.2.1134. Static Call May Be Truly Static
- 1.2.1135. Static Call With Self
- 1.2.1136. Static Global Variables Confusion
- 1.2.1137. Static Loop
- 1.2.1138. Static Methods
- 1.2.1139. Static Methods Called From Object
- 1.2.1140. Static Methods Can’t Contain $this
- 1.2.1141. Static Methods Cannot Call Non-Static Methods
- 1.2.1142. Static Properties
- 1.2.1143. Static Variable Can Default To Arbitrary Expression
- 1.2.1144. Static Variable In Namespace
- 1.2.1145. Static Variable Initialisation
- 1.2.1146. Static Variables
- 1.2.1147. Stomp
- 1.2.1148. Strange Name For Constants
- 1.2.1149. Strange Name For Variables
- 1.2.1150. Strange Names In Classes
- 1.2.1151. Strict Comparison With Booleans
- 1.2.1152. Strict In_Array() Preference
- 1.2.1153. Strict Or Relaxed Comparison
- 1.2.1154. String
- 1.2.1155. String Int Comparison
- 1.2.1156. String Interpolation Favorite
- 1.2.1157. String May Hold A Variable
- 1.2.1158. Strings With Strange Space
- 1.2.1159. Strpos() Less Than One
- 1.2.1160. Strpos()-like Comparison
- 1.2.1161. Strtr Arguments
- 1.2.1162. Substr To Trim
- 1.2.1163. Substr() In Loops
- 1.2.1164. Substring First
- 1.2.1165. Super Global Usage
- 1.2.1166. Super Globals Contagion
- 1.2.1167. Superglobals
- 1.2.1168. Suspicious Comparison
- 1.2.1169. Swapped Arguments
- 1.2.1170. Switch Fallthrough
- 1.2.1171. Switch To Switch
- 1.2.1172. Switch With Too Many Default
- 1.2.1173. Switch Without Default
- 1.2.1174. Swoole
- 1.2.1175. Sylius usage
- 1.2.1176. Symfony usage
- 1.2.1177. Ternary In Concat
- 1.2.1178. Test Class
- 1.2.1179. Test Then Cast
- 1.2.1180. This Could Be Iterable
- 1.2.1181. Throw
- 1.2.1182. Throw Functioncall
- 1.2.1183. Throw In Destruct
- 1.2.1184. Throw Raw Exceptions
- 1.2.1185. Throw Was An Expression
- 1.2.1186. Thrown Exceptions
- 1.2.1187. Throws An Assignement
- 1.2.1188. Ticks Usage
- 1.2.1189. Timestamp Difference
- 1.2.1190. Too Complex Expression
- 1.2.1191. Too Long A Block
- 1.2.1192. Too Many Array Dimensions
- 1.2.1193. Too Many Chained Calls
- 1.2.1194. Too Many Children
- 1.2.1195. Too Many Dereferencing
- 1.2.1196. Too Many Extractions
- 1.2.1197. Too Many Finds
- 1.2.1198. Too Many Injections
- 1.2.1199. Too Many Local Variables
- 1.2.1200. Too Many Native Calls
- 1.2.1201. Too Many Parameters
- 1.2.1202. Too Many Stringed Elseif
- 1.2.1203. Too Much Indented
- 1.2.1204. Trailing Comma In Calls
- 1.2.1205. Trait Is Not A Type
- 1.2.1206. Trait Methods
- 1.2.1207. Trait Names
- 1.2.1208. Trait Not Found
- 1.2.1209. Traits Usage
- 1.2.1210. Trigger Errors
- 1.2.1211. True False Inconsistant Case
- 1.2.1212. Try With Finally
- 1.2.1213. Try With Multiple Catch
- 1.2.1214. Try Without Catch
- 1.2.1215. Type Array Index
- 1.2.1216. Type Could Be Integer
- 1.2.1217. Type Could Be Never
- 1.2.1218. Type Dodging
- 1.2.1219. Type Must Be Returned
- 1.2.1220. Typed Class Constants Usage
- 1.2.1221. Typed Property Usage
- 1.2.1222. Typehint Could Be Iterable
- 1.2.1223. Typehint Order
- 1.2.1224. Typehinting Stats
- 1.2.1225. Typehints
- 1.2.1226. Typehints/CouldBeResource
- 1.2.1227. Typo 3 usage
- 1.2.1228. URL List
- 1.2.1229. Unbinding Closures
- 1.2.1230. Uncaught Exceptions
- 1.2.1231. Unchecked Resources
- 1.2.1232. Unconditional Break In Loop
- 1.2.1233. Undefined ::class
- 1.2.1234. Undefined Caught Exceptions
- 1.2.1235. Undefined Class Constants
- 1.2.1236. Undefined Classes
- 1.2.1237. Undefined Constant Name
- 1.2.1238. Undefined Constants
- 1.2.1239. Undefined Enumcase
- 1.2.1240. Undefined Functions
- 1.2.1241. Undefined Insteadof
- 1.2.1242. Undefined Interfaces
- 1.2.1243. Undefined Methods
- 1.2.1244. Undefined Parent
- 1.2.1245. Undefined Properties
- 1.2.1246. Undefined Trait
- 1.2.1247. Undefined Variable
- 1.2.1248. Undefined static:: Or self::
- 1.2.1249. Unfinished Object
- 1.2.1250. Unicode Blocks
- 1.2.1251. Unicode Escape Partial
- 1.2.1252. Unicode Escape Syntax
- 1.2.1253. Uninitialized Property
- 1.2.1254. Union Typehint
- 1.2.1255. Unitialized Properties
- 1.2.1256. Unknown Directive Name
- 1.2.1257. Unknown Parameter Name
- 1.2.1258. Unknown Pcre2 Option
- 1.2.1259. Unkown Regex Options
- 1.2.1260. Unpacking Inside Arrays
- 1.2.1261. Unpreprocessed Values
- 1.2.1262. Unreachable Class Constant
- 1.2.1263. Unreachable Code
- 1.2.1264. Unreachable Method
- 1.2.1265. Unresolved Catch
- 1.2.1266. Unresolved Classes
- 1.2.1267. Unresolved Instanceof
- 1.2.1268. Unresolved Use
- 1.2.1269. Unserialize Second Arg
- 1.2.1270. Unset Arguments
- 1.2.1271. Unset In Foreach
- 1.2.1272. Unset() Or (unset)
- 1.2.1273. Unsupported Operand Types
- 1.2.1274. Unsupported Types With Operators
- 1.2.1275. Unthrown Exception
- 1.2.1276. Untyped No Default Properties
- 1.2.1277. Unused Class Constant
- 1.2.1278. Unused Classes
- 1.2.1279. Unused Constants
- 1.2.1280. Unused Enumeration Case
- 1.2.1281. Unused Exception Variable
- 1.2.1282. Unused Functions
- 1.2.1283. Unused Global
- 1.2.1284. Unused Inherited Variable In Closure
- 1.2.1285. Unused Interfaces
- 1.2.1286. Unused Label
- 1.2.1287. Unused Methods
- 1.2.1288. Unused Parameter
- 1.2.1289. Unused Private Methods
- 1.2.1290. Unused Private Properties
- 1.2.1291. Unused Protected Methods
- 1.2.1292. Unused Public Methods
- 1.2.1293. Unused Returned Value
- 1.2.1294. Unused Trait In Class
- 1.2.1295. Unused Traits
- 1.2.1296. Unused Use
- 1.2.1297. Unusual Case For PHP Functions
- 1.2.1298. Unvalidated Data Cached In Session
- 1.2.1299. Upload Filename Injection
- 1.2.1300. Usage Of class_alias()
- 1.2.1301. Use ::Class Operator
- 1.2.1302. Use === null
- 1.2.1303. Use Array Functions
- 1.2.1304. Use Arrow Functions
- 1.2.1305. Use Basename Suffix
- 1.2.1306. Use Browscap
- 1.2.1307. Use Cli
- 1.2.1308. Use Closure Trailing Comma
- 1.2.1309. Use Composer Lock
- 1.2.1310. Use Const And Functions
- 1.2.1311. Use Constant As Arguments
- 1.2.1312. Use Constant Instead Of Function
- 1.2.1313. Use Constants As Returns
- 1.2.1314. Use Contravariance
- 1.2.1315. Use Cookies
- 1.2.1316. Use Count Recursive
- 1.2.1317. Use Covariance
- 1.2.1318. Use DNF
- 1.2.1319. Use DateTimeImmutable Class
- 1.2.1320. Use Debug
- 1.2.1321. Use Enum Case In Constant Expression
- 1.2.1322. Use File Append
- 1.2.1323. Use Instanceof
- 1.2.1324. Use List With Foreach
- 1.2.1325. Use Lower Case For Parent, Static And Self
- 1.2.1326. Use Named Boolean In Argument Definition
- 1.2.1327. Use NullSafe Operator
- 1.2.1328. Use Nullable Type
- 1.2.1329. Use PHP Attributes
- 1.2.1330. Use PHP Object API
- 1.2.1331. Use PHP7 Encapsed Strings
- 1.2.1332. Use Pathinfo
- 1.2.1333. Use Positive Condition
- 1.2.1334. Use Same Types For Comparisons
- 1.2.1335. Use System Tmp
- 1.2.1336. Use The Blind Var
- 1.2.1337. Use The Case Value
- 1.2.1338. Use This
- 1.2.1339. Use Variable Created Inside Loop
- 1.2.1340. Use Web
- 1.2.1341. Use With Fully Qualified Name
- 1.2.1342. Use array_slice()
- 1.2.1343. Use class_alias()
- 1.2.1344. Use const
- 1.2.1345. Use get_debug_type()
- 1.2.1346. Use is_countable
- 1.2.1347. Use json_decode() Options
- 1.2.1348. Use password_hash()
- 1.2.1349. Use pathinfo() Arguments
- 1.2.1350. Use random_int()
- 1.2.1351. Use session_start() Options
- 1.2.1352. Use str_contains()
- 1.2.1353. Use str_ends_with()
- 1.2.1354. Use str_starts_with()
- 1.2.1355. Used Classes
- 1.2.1356. Used Functions
- 1.2.1357. Used Interfaces
- 1.2.1358. Used Methods
- 1.2.1359. Used Once Property
- 1.2.1360. Used Once Trait
- 1.2.1361. Used Once Variables
- 1.2.1362. Used Once Variables (In Scope)
- 1.2.1363. Used Private Methods
- 1.2.1364. Used Protected Method
- 1.2.1365. Used Static Properties
- 1.2.1366. Used Trait
- 1.2.1367. Used Use
- 1.2.1368. Useless Abstract Class
- 1.2.1369. Useless Argument
- 1.2.1370. Useless Assignation Of Promoted Property
- 1.2.1371. Useless Brackets
- 1.2.1372. Useless Catch
- 1.2.1373. Useless Check
- 1.2.1374. Useless Coalesce
- 1.2.1375. Useless Constant Overwrite
- 1.2.1376. Useless Constructor
- 1.2.1377. Useless Default Argument
- 1.2.1378. Useless Final
- 1.2.1379. Useless Global
- 1.2.1380. Useless Instructions
- 1.2.1381. Useless Interfaces
- 1.2.1382. Useless Method
- 1.2.1383. Useless Method Alias
- 1.2.1384. Useless Null Coalesce
- 1.2.1385. Useless NullSafe Operator
- 1.2.1386. Useless Parenthesis
- 1.2.1387. Useless Referenced Argument
- 1.2.1388. Useless Return
- 1.2.1389. Useless Short Ternary
- 1.2.1390. Useless Switch
- 1.2.1391. Useless Trailing Comma
- 1.2.1392. Useless Try
- 1.2.1393. Useless Type Casting
- 1.2.1394. Useless Type Check
- 1.2.1395. Useless Typehint
- 1.2.1396. Useless Unset
- 1.2.1397. Uses Default Values
- 1.2.1398. Uses Environment
- 1.2.1399. Uses PHP 8 Match()
- 1.2.1400. Using $this Outside A Class
- 1.2.1401. Using Deprecated Feature
- 1.2.1402. Using Deprecated Method
- 1.2.1403. Using Short Tags
- 1.2.1404. Usort Sorting In PHP 7.0
- 1.2.1405. Utf8 Encode And Decode Are Deprecated
- 1.2.1406. Var Keyword
- 1.2.1407. Variable Anf Property Typehint
- 1.2.1408. Variable Constants
- 1.2.1409. Variable Global
- 1.2.1410. Variable Is A Local Constant
- 1.2.1411. Variable Is Not A Condition
- 1.2.1412. Variable Parameter Ambiguity In Arrow Function
- 1.2.1413. Variable References
- 1.2.1414. Variable Variables
- 1.2.1415. Variables With Long Names
- 1.2.1416. Variables With One Letter Names
- 1.2.1417. Void Is Not A Reference
- 1.2.1418. Weak Type With Array
- 1.2.1419. Weak Typing
- 1.2.1420. Weird Array Index
- 1.2.1421. While(List() = Each())
- 1.2.1422. Windows Only Constants
- 1.2.1423. Wordpress usage
- 1.2.1424. Written Only Variables
- 1.2.1425. Wrong Access Style to Property
- 1.2.1426. Wrong Argument Name With PHP Function
- 1.2.1427. Wrong Argument Type
- 1.2.1428. Wrong Attribute Configuration
- 1.2.1429. Wrong Case Namespaces
- 1.2.1430. Wrong Class Name Case
- 1.2.1431. Wrong Function Name Case
- 1.2.1432. Wrong Locale
- 1.2.1433. Wrong Number Of Arguments
- 1.2.1434. Wrong Number Of Arguments In Methods
- 1.2.1435. Wrong Optional Parameter
- 1.2.1436. Wrong Parameter Type
- 1.2.1437. Wrong Precedence In Expression
- 1.2.1438. Wrong Range Check
- 1.2.1439. Wrong Type For Native PHP Function
- 1.2.1440. Wrong Type Returned
- 1.2.1441. Wrong Type With Call
- 1.2.1442. Wrong Type With Default
- 1.2.1443. Wrong Typed Property Default
- 1.2.1444. Wrong Typehinted Name
- 1.2.1445. Wrong fopen() Mode
- 1.2.1446. Yield From Usage
- 1.2.1447. Yield Usage
- 1.2.1448. Yii usage
- 1.2.1449. Yoda Comparison
- 1.2.1450. __DIR__ Then Slash
- 1.2.1451. __debugInfo() Usage
- 1.2.1452. __halt_compiler
- 1.2.1453. __toString() Throws Exception
- 1.2.1454. array_key_exists() Speedup
- 1.2.1455. array_key_exists() Works On Arrays
- 1.2.1456. array_merge With Ellipsis
- 1.2.1457. array_merge() And Variadic
- 1.2.1458. class_alias() Supports Internal Classes
- 1.2.1459. crypt() Without Salt
- 1.2.1460. curl_version() Has No Argument
- 1.2.1461. date() versus DateTime Preference
- 1.2.1462. error_reporting() With Integers
- 1.2.1463. eval() Without Try
- 1.2.1464. ext/0mq
- 1.2.1465. ext/CSV
- 1.2.1466. ext/amqp
- 1.2.1467. ext/apache
- 1.2.1468. ext/apc
- 1.2.1469. ext/apcu
- 1.2.1470. ext/array
- 1.2.1471. ext/bcmath
- 1.2.1472. ext/bzip2
- 1.2.1473. ext/calendar
- 1.2.1474. ext/cmark
- 1.2.1475. ext/com
- 1.2.1476. ext/crypto
- 1.2.1477. ext/ctype
- 1.2.1478. ext/curl
- 1.2.1479. ext/date
- 1.2.1480. ext/db2
- 1.2.1481. ext/dba
- 1.2.1482. ext/decimal
- 1.2.1483. ext/dio
- 1.2.1484. ext/dom
- 1.2.1485. ext/ds
- 1.2.1486. ext/eaccelerator
- 1.2.1487. ext/eio
- 1.2.1488. ext/enchant
- 1.2.1489. ext/ev
- 1.2.1490. ext/event
- 1.2.1491. ext/exif
- 1.2.1492. ext/expect
- 1.2.1493. ext/fam
- 1.2.1494. ext/fann
- 1.2.1495. ext/ffi
- 1.2.1496. ext/file
- 1.2.1497. ext/fileinfo
- 1.2.1498. ext/filter
- 1.2.1499. ext/fpm
- 1.2.1500. ext/ftp
- 1.2.1501. ext/gd
- 1.2.1502. ext/gearman
- 1.2.1503. ext/gender
- 1.2.1504. ext/geoip
- 1.2.1505. ext/gettext
- 1.2.1506. ext/gmagick
- 1.2.1507. ext/gmp
- 1.2.1508. ext/gnupgp
- 1.2.1509. ext/grpc
- 1.2.1510. ext/hash
- 1.2.1511. ext/hrtime
- 1.2.1512. ext/ibase
- 1.2.1513. ext/iconv
- 1.2.1514. ext/igbinary
- 1.2.1515. ext/imagick
- 1.2.1516. ext/imap
- 1.2.1517. ext/info
- 1.2.1518. ext/inotify
- 1.2.1519. ext/intl
- 1.2.1520. ext/json
- 1.2.1521. ext/judy
- 1.2.1522. ext/ldap
- 1.2.1523. ext/leveldb
- 1.2.1524. ext/libsodium
- 1.2.1525. ext/libxml
- 1.2.1526. ext/lua
- 1.2.1527. ext/lzf
- 1.2.1528. ext/mail
- 1.2.1529. ext/mailparse
- 1.2.1530. ext/math
- 1.2.1531. ext/mbstring
- 1.2.1532. ext/mcrypt
- 1.2.1533. ext/memcache
- 1.2.1534. ext/memcached
- 1.2.1535. ext/mongo
- 1.2.1536. ext/mongodb
- 1.2.1537. ext/msgpack
- 1.2.1538. ext/mssql
- 1.2.1539. ext/mysql
- 1.2.1540. ext/mysqli
- 1.2.1541. ext/ncurses
- 1.2.1542. ext/newt
- 1.2.1543. ext/nsapi
- 1.2.1544. ext/ob
- 1.2.1545. ext/oci8
- 1.2.1546. ext/odbc
- 1.2.1547. ext/opcache
- 1.2.1548. ext/opencensus
- 1.2.1549. ext/openssl
- 1.2.1550. ext/parle
- 1.2.1551. ext/password
- 1.2.1552. ext/pcntl
- 1.2.1553. ext/pcov
- 1.2.1554. ext/pcre
- 1.2.1555. ext/pdo
- 1.2.1556. ext/pecl_http
- 1.2.1557. ext/pgsql
- 1.2.1558. ext/phalcon
- 1.2.1559. ext/phar
- 1.2.1560. ext/php-ast
- 1.2.1561. ext/pkcs11
- 1.2.1562. ext/posix
- 1.2.1563. ext/protobuf
- 1.2.1564. ext/pspell
- 1.2.1565. ext/psr
- 1.2.1566. ext/rar
- 1.2.1567. ext/rdkafka
- 1.2.1568. ext/readline
- 1.2.1569. ext/redis
- 1.2.1570. ext/reflection
- 1.2.1571. ext/scrypt
- 1.2.1572. ext/sdl
- 1.2.1573. ext/seaslog
- 1.2.1574. ext/sem
- 1.2.1575. ext/session
- 1.2.1576. ext/shmop
- 1.2.1577. ext/simplexml
- 1.2.1578. ext/snmp
- 1.2.1579. ext/soap
- 1.2.1580. ext/sockets
- 1.2.1581. ext/sphinx
- 1.2.1582. ext/spl
- 1.2.1583. ext/spx
- 1.2.1584. ext/sqlite
- 1.2.1585. ext/sqlite3
- 1.2.1586. ext/sqlsrv
- 1.2.1587. ext/ssh2
- 1.2.1588. ext/standard
- 1.2.1589. ext/stats
- 1.2.1590. ext/suhosin
- 1.2.1591. ext/svm
- 1.2.1592. ext/teds
- 1.2.1593. ext/tidy
- 1.2.1594. ext/tokenizer
- 1.2.1595. ext/tokyotyrant
- 1.2.1596. ext/trader
- 1.2.1597. ext/uopz
- 1.2.1598. ext/uuid
- 1.2.1599. ext/v8js
- 1.2.1600. ext/varnish
- 1.2.1601. ext/vips
- 1.2.1602. ext/wasm
- 1.2.1603. ext/wddx
- 1.2.1604. ext/weakref
- 1.2.1605. ext/xattr
- 1.2.1606. ext/xdebug
- 1.2.1607. ext/xdiff
- 1.2.1608. ext/xhprof
- 1.2.1609. ext/xml
- 1.2.1610. ext/xmlreader
- 1.2.1611. ext/xmlrpc
- 1.2.1612. ext/xmlwriter
- 1.2.1613. ext/xsl
- 1.2.1614. ext/xxtea
- 1.2.1615. ext/yaml
- 1.2.1616. ext/zend_monitor
- 1.2.1617. ext/zip
- 1.2.1618. ext/zlib
- 1.2.1619. ext/zookeeper
- 1.2.1620. filter_input() As A Source
- 1.2.1621. fputcsv() In Loops
- 1.2.1622. func_get_arg() Modified
- 1.2.1623. get_class() Without Argument
- 1.2.1624. idn_to_ascii() New Default
- 1.2.1625. include_once() Usage
- 1.2.1626. is_a() Versus instanceof
- 1.2.1627. isset() With Constant
- 1.2.1628. list() May Omit Variables
- 1.2.1629. mb_strrpos() Third Argument
- 1.2.1630. mcrypt_create_iv() With Default Values
- 1.2.1631. move_uploaded_file Instead Of copy
- 1.2.1632. openssl_random_pseudo_byte() Second Argument
- 1.2.1633. parse_str() Warning
- 1.2.1634. preg_match_all() Flag
- 1.2.1635. preg_replace With Option e
- 1.2.1636. self, parent, static Outside Class
- 1.2.1637. set_exception_handler() Warning
- 1.2.1638. strict_types Preference
- 1.2.1639. strip_tags() Skips Closed Tag
- 1.2.1640. strpos() Too Much
- 1.2.1641. strpos() With Integers
- 1.2.1642. time() Vs strtotime()
- 1.2.1643. var_dump()… Usage
- 1.2.1644. version_compare Operator
1.3. Directory by Exakat version¶
List of analyzers, by version of introduction, newest to oldest. In parenthesis, the first element is the analyzer name, used with ‘analyze -P’ command, and the seconds, if any, are the ruleset, used with the -T option. Rulesets are separated by commas, as the same analysis may be used in several rulesets.
2.6.6
2.6.5
2.6.4
2.6.3
2.6.2
2.6.1
2.6.0
2.5.4
2.5.3
2.5.2
2.5.1
2.5.0
2.4.9
2.4.8
2.4.7
2.4.5
2.4.4
2.4.3
2.4.2
2.4.1
2.4.0
2.3.9
2.3.8
2.3.7
2.3.6
2.3.5
2.3.3
2.3.2
2.3.1
2.3.0
2.2.5
2.2.4
2.2.3
2.2.2
2.2.1
2.2.0
2.1.9
2.1.8
2.1.7
2.1.6
2.1.5
2.1.4
2.1.3
2.1.2
2.1.1
2.1.0
2.0.9
2.0.8
2.0.7
2.0.6
2.0.5
2.0.4
2.0.3
2.0.2
1.9.9
1.9.8
1.9.7
1.9.6
1.9.5
1.9.4
1.9.3
1.9.2
1.9.1
1.9.0
1.8.9
1.8.8
1.8.7
1.8.6
1.8.5
1.8.4
1.8.3
1.8.2
1.8.1
1.8.0
1.7.9
1.7.8
1.7.7
1.7.6
1.7.2
1.7.0
1.6.9
1.6.8
1.6.7
1.6.6
1.6.5
1.6.4
1.6.3
1.6.2
1.6.1
1.5.8
1.5.7
1.5.6
1.5.5
1.5.4
1.5.3
1.5.2
1.5.1
1.5.0
1.4.9
1.4.8
1.4.6
1.4.5
1.4.4
1.4.3
1.4.2
1.4.1
1.4.0
1.3.9
1.3.8
1.3.7
1.3.5
1.3.4
1.3.3
1.3.2
1.3.0
1.2.9
1.2.8
1.2.7
1.2.6
1.2.5
1.2.4
1.2.3
1.2.2
1.2.1
1.1.10
1.1.9
1.1.8
1.1.7
1.1.6
1.1.5
1.1.4
1.1.3
1.1.2
1.1.1
1.0.11
1.0.10
1.0.8
1.0.7
1.0.6
1.0.5
1.0.4
1.0.3
1.0.1
0.12.17
0.12.16
0.12.15
0.12.14
0.12.12
0.12.11
0.12.10
0.12.9
0.12.8
0.12.7
0.12.5
0.12.4
0.12.3
0.12.2
0.12.1
0.12.0
0.11.8
0.11.7
0.11.6
0.11.5
0.11.4
0.11.3
0.11.2
0.11.1
0.11.0
0.10.9
0.10.7
0.10.6
0.10.5
0.10.4
0.10.3
0.10.2
0.10.1
0.10.0
0.9.9
0.9.8
0.9.7
0.9.6
0.9.5
0.9.4
0.9.3
0.9.2
0.9.1
0.9.0
0.8.9
0.8.7
0.8.6
0.8.5
0.8.4
0.8.3
1.4. Directory by PHP Function¶
- $
$HTTP_RAW_POST_DATA
$_ENV
$_GET
$_POST
$_REQUEST
$this
- *
**
- .
…
- A
AF_INET
ArgumentCountError
ArrayAccess
ArrayIterator
ArrayObject
Array_search()
Array_slice()
Attribute
abs()
addslashes()
array()
array_change_key_case()
array_chunk()
array_column()
array_combine()
array_count_values()
array_diff()
array_diff_assoc()
array_diff_key()
array_diff_uassoc()
array_fill()
array_fill_keys()
array_filter()
array_flip()
array_intersect()
array_is_list()
array_key_exists()
array_key_last()
array_keys()
array_map()
array_merge()
array_merge_recursive()
array_multisort()
array_pad()
array_product()
array_push()
array_replace()
array_search()
array_shift()
array_slice()
array_splice()
array_sum()
array_udiff()
array_uintersect()
array_unique()
array_unshift()
array_values()
array_walk()
arsort()
asort()
assert()
attribute
Override
IsExt
IsPHP
IsStub
- B
Break
basename()
boolval()
break
- C
CAL_GREGORIAN
COM
COUNT_NORMAL
COUNT_RECURSIVE
CURLOPT_FILE
CURLOPT_HEADER
CURLOPT_SSL_VERIFYPEER
CURLOPT_URL
CURLPIPE_HTTP1
CURLVERSION_NOW
Closure
Collator
Compact()
Connection
Count()
Countable
call_user_func()
ceil()
chdir()
chmod()
chr()
chroot()
class_alias()
class_exists()
class_uses()
cli_get_process_title()
cli_set_process_title()
closure
collator_compare()
collator_get_sort_key()
com
php-cs-fixable
compact()
config
connection
constant()
continue
convert_cyr_string()
copy()
count()
countable
crc32()
crypt()
ctype
curl_escape()
curl_exec()
curl_file_create()
curl_init()
curl_multi_errno()
curl_multi_init()
curl_multi_setopt()
curl_multi_strerror()
curl_pause()
curl_reset()
curl_setopt()
curl_share_close()
curl_share_errno()
curl_share_init()
curl_share_setopt()
curl_share_strerror()
curl_strerror()
curl_unescape()
curl_upkeep()
curl_version()
current()
- D
DB2_AUTOCOMMIT_OFF
DIRECTORY_SEPARATOR
DNS_NS
DOMDocument
DateError
DateInterval
DateTime
DateTimeImmutable
DateTimeZone
Datetime
Define()
Die
Directory
DirectoryIterator
DivisionByZeroError
date()
dateTime
date_create()
date_format()
datefmt_format_object()
datefmt_get_calendar_object()
datefmt_get_timezone()
datefmt_set_timezone()
datetime
datetimeimmutable
debug_backtrace()
debug_print_backtrace()
debug_zval_dump()
define()
defined()
deflate_init()
dictionary
die
directory
dirname()
dl()
dns_get_record()
- E
ENT_IGNORE
ENT_QUOTES
ENT_SUBSTITUTE
ERROR
EXTR_OVERWRITE
EXTR_PREFIX_ALL
EXTR_SKIP
E_ALL
E_DEPRECATED
E_ERROR
E_NOTICE
E_PARSE
E_STRICT
E_USER_ERROR
E_USER_NOTICE
E_USER_WARNING
E_WARNING
Engine
Error
Exception
Exit
each()
easter_days()
enchant_broker_init()
enchant_broker_request_dict()
enchant_broker_request_pwl_dict()
engine
enum_exists()
error
Override
error_clear_last()
error_get_last()
error_log()
error_reporting()
exception
exec()
exit
explode()
extract()
ezmlm_hash()
- F
FALSE
FFI
FILEINFO_MIME_TYPE
FILE_APPEND
FILE_BINARY
FILE_IGNORE_NEW_LINES
FILE_TEXT
FILTER_SANITIZE_EMAIL
FILTER_SANITIZE_SPECIAL_CHARS
FILTER_SANITIZE_STRING
FILTER_UNSAFE_RAW
FILTER_VALIDATE_EMAIL
FTP_BINARY
False
FilesystemIterator
FilterIterator
For()
Foreach()
false
fdatasync()
fdiv()
feof()
ffi
fgetc()
fgetcsv()
fgets()
fgetss()
file()
file_exists()
file_get_contents()
file_put_contents()
filesize()
filter_input()
filter_input_array()
filter_var()
finfo
finfo_open()
floor()
fopen()
for()
foreach()
forward_static_call()
forward_static_call_array()
fputcsv()
fread()
fscanf()
fseek()
fsockopen()
fsync()
ftp_connect()
func_get_arg()
func_get_args()
func_num_args()
- G
GLOB_BRACE
GLOB_NOSORT
Generator
gc_mem_caches()
generator
getType()
get_browser()
get_called_class()
get_class()
get_class_methods()
get_class_vars()
get_debug_type()
get_declared_traits()
get_html_translation_table()
get_magic_quotes_gpc()
get_magic_quotes_runtime()
get_object_vars()
get_parent_class()
get_resources()
getdate()
getenv()
getimagesizefromstring()
getopt()
gettext()
glob()
gmdate()
gmp
gmp_binomial()
gmp_div_q()
gmp_div_qr()
gmp_div_r()
gmp_kronecker()
gmp_lcm()
gmp_perfect_power()
gmp_root()
gmp_rootrem()
gmstrftime()
- H
HTML_ENTITIES
HashContext
hash()
hash_algos()
hash_equals()
hash_file()
hash_hmac()
hash_pbkdf2()
hash_update()
hash_update_file()
header()
header_register_callback()
hebrevc()
hex2bin()
highlight_file()
highlight_string()
html_entity_decode()
htmlentities()
htmlspecialchars()
htmlspecialchars_decode()
httpRequest
http_build_query()
http_build_url()
http_parse_cookie()
http_parse_params()
http_redirect()
http_response_code()
http_support()
- I
INF
INPUT_COOKIE
INPUT_ENV
INPUT_GET
INPUT_POST
INPUT_SERVER
IntervalBoundary
Intval()
Isset
Iterator
ibase_errmsg()
iconv()
iconv_strpos()
iconv_strrpos()
iconv_substr()
idn_to_ascii()
idn_to_utf8()
imageaffinematrixconcat()
imageaffinematrixget()
imageavif()
imagecolorallocate()
imagecolorallocatealpha()
imagecreatefromavif()
imagecrop()
imagecropauto()
imageflip()
imagepalettetotruecolor()
imagescale()
imap_last_error()
imap_open()
implode()
in_array()
inflate_init()
ini_get()
ini_parse_quantity()
ini_set()
instanceof
insteadof
intdiv()
intlcal_add()
intlcal_after()
intlcal_before()
intlcal_clear()
intlcal_create_instance()
intlcal_equals()
intlcal_field_difference()
intlcal_from_date_time()
intlcal_get()
intlcal_get_actual_maximum()
intlcal_get_actual_minimum()
intlcal_get_available_locales()
intlcal_get_day_of_week_type()
intlcal_get_error_code()
intlcal_get_error_message()
intlcal_get_first_day_of_week()
intlcal_get_greatest_minimum()
intlcal_get_keyword_values_for_locale()
intlcal_get_least_maximum()
intlcal_get_locale()
intlcal_get_maximum()
intlcal_get_minimal_days_in_first_week()
intlcal_get_minimum()
intlcal_get_now()
intlcal_get_repeated_wall_time_option()
intlcal_get_skipped_wall_time_option()
intlcal_get_time()
intlcal_get_time_zone()
intlcal_get_type()
intlcal_get_weekend_transition()
intlcal_in_daylight_time()
intlcal_is_equivalent_to()
intlcal_is_lenient()
intlcal_is_set()
intlcal_is_weekend()
intlcal_roll()
intlcal_set()
intlcal_set_first_day_of_week()
intlcal_set_lenient()
intlcal_set_repeated_wall_time_option()
intlcal_set_skipped_wall_time_option()
intlcal_set_time()
intlcal_set_time_zone()
intlcal_to_date_time()
intlgregcal_create_instance()
intlgregcal_get_gregorian_change()
intlgregcal_is_leap_year()
intlgregcal_set_gregorian_change()
intltz_count_equivalent_ids()
intltz_create_default()
intltz_create_enumeration()
intltz_create_time_zone()
intltz_create_time_zone_id_enumeration()
intltz_from_date_time_zone()
intltz_get_canonical_id()
intltz_get_display_name()
intltz_get_dst_savings()
intltz_get_equivalent_id()
intltz_get_error_code()
intltz_get_error_message()
intltz_get_gmt()
intltz_get_id()
intltz_get_offset()
intltz_get_raw_offset()
intltz_get_region()
intltz_get_tz_data_version()
intltz_get_unknown()
intltz_has_same_rules()
intltz_to_date_time_zone()
intltz_use_daylight_time()
intval()
is_a()
is_array()
is_callable()
is_countable()
is_int()
is_integer()
is_iterable()
is_null()
is_object()
is_readable()
is_resource()
is_scalar()
is_string()
isset
iterator
iterator_to_array()
- J
JSON_ERROR_NONE
JSON_HEX_AMP
JSON_OBJECT_AS_ARRAY
JSON_THROW_ON_ERROR
JsonException
JsonSerializable
Judy
jdtojewish()
json_decode()
json_encode()
json_last_error()
json_last_error_msg()
json_validate()
judy
- K
key()
krsort()
ksort()
- L
LC_ALL
LC_MESSAGES
LIBXML_DTDLOAD
LIBXML_ERR_ERROR
LIBXML_ERR_FATAL
LIBXML_ERR_WARNING
LIBXML_NOENT
LOG_DEBUG
List()
Locale
LogicException
ldap_connect()
ldap_escape()
ldap_exop_refresh()
ldap_first_entry()
ldap_list()
ldap_read()
ldap_search()
libxml_clear_errors()
libxml_get_errors()
libxml_set_external_entity_loader()
link()
list()
locale
localtime()
log()
ltrim()
- M
MYSQLI_STMT_ATTR_UPDATE_MAX_LENGTH
MYSQLI_STORE_RESULT_COPY_DATA
M_PI
Match()
MessageFormatter
Mongo
MongoClient
MongoDB
MongoDb
Mongodb
MySQLI
magic_quotes_runtime()
mail()
main()
match()
max()
mb_chr()
mb_convert_encoding()
mb_detect_encoding()
mb_encoding_aliases()
mb_list_encodings()
mb_ord()
mb_parse_str()
mb_scrub()
mb_split()
mb_str_split()
mb_stripos()
mb_stristr()
mb_strlen()
mb_strpos()
mb_strrchr()
mb_strrichr()
mb_strripos()
mb_strrpos()
mb_strstr()
mb_strtolower()
mb_strtoupper()
mb_substr()
mb_substr_count()
md5()
md5_file()
memory_reset_peak_usage()
microtime()
min()
mkdir()
mktime()
money_format()
mongo
mongodb
move_uploaded_file()
msg_get_queue()
mt_rand()
mt_srand()
mysql_error()
mysqli
mysqli_begin_transaction()
mysqli_connect_errno()
mysqli_connect_error()
mysqli_error_list()
mysqli_execute_query()
mysqli_fetch_column()
mysqli_release_savepoint()
mysqli_savepoint()
mysqli_stmt_error_list()
- N
NCURSES_COLOR_BLACK
NCURSES_COLOR_GREEN
NCURSES_COLOR_RED
NCURSES_COLOR_WHITE
NULL
Null
NumberFormatter
ncurses_init()
ncurses_start_color()
net_get_interfaces()
next()
null
- O
OCI_ASSOC
OCI_RETURN_NULLS
OPENSSL_CIPHER_AES_128_CBC
OPENSSL_CIPHER_RC2_40
OPENSSL_KEYTYPE_EC
OP_HALFOPEN
Override
Override
ob_end_flush()
ob_get_clean()
ob_start()
oci_error()
oci_get_implicit_resultset()
odbc_connection_string_is_quoted()
odbc_connection_string_quote()
odbc_connection_string_should_quote()
opcache_get_status()
opendir()
openssl_cms_encrypt()
openssl_csr_new()
openssl_csr_sign()
openssl_get_cipher_methods()
openssl_pbkdf2()
openssl_pkcs7_encrypt()
openssl_pkey_derive()
openssl_pkey_new()
openssl_random_pseudo_bytes()
openssl_spki_export()
openssl_spki_export_challenge()
openssl_spki_new()
openssl_spki_verify()
openssl_x509_fingerprint()
openssl_x509_read()
ord()
override
- P
PARENT
PASSWORD_ARGON2I
PASSWORD_ARGON2_DEFAULT_THREADS
PASSWORD_ARGON2_DEFAULT_TIME_COST
PASSWORD_DEFAULT
PATHINFO_BASENAME
PATHINFO_DIRNAME
PDO
PHP_EOL
PHP_INT_MAX
PHP_OS
PHP_SHLIB_SUFFIX
PHP_VERSION
PREG_JIT_STACKLIMIT_ERROR
PREG_NO_ERROR
PREG_SET_ORDER
PREG_SPLIT_NO_EMPTY
Parent
ParseError
Pdo
Phar
pack()
Inventory
parent
Override
parse_ini_file()
parse_ini_string()
parse_str()
parse_url()
passthru()
password_algos()
password_get_info()
password_hash()
password_needs_rehash()
password_verify()
pathinfo()
pcntl_fork()
pcntl_getpriority()
pdo
pg_connect()
pg_escape_identifier()
pg_escape_literal()
pg_lo_create()
pg_pconnect()
pg_query()
pg_result_status()
pg_select()
phar
php_logo_guid()
php_sapi_name()
php_user_filter
php_version
phpcredits()
phpinfo()
phpversion()
pi()
posix_access()
posix_fpathconf()
posix_get_last_error()
posix_pathconf()
posix_setrlimit()
posix_setsid()
posix_sysconf()
pow()
preg_filter()
preg_grep()
preg_last_error()
preg_last_error_msg()
preg_match()
preg_match_all()
preg_replace()
preg_replace_callback()
preg_replace_callback_array()
preg_split()
prev()
print()
print_r()
printf()
proc_nice()
proc_open()
property_exists()
pspell_config_create()
pspell_new()
pspell_new_config()
pspell_new_personal()
- R
Randomizer
RarArchive
RecursiveFilterIterator
Reflection
ReflectionClassConstant
ReflectionFunction
Reflector
ResourceBundle
ReturnTypeWillChange
RuntimeException
rand()
random_bytes()
random_int()
randomizer
readdir()
readfile()
readline_info()
reflection
register_shutdown_function()
register_tick_function()
restore_include_path()
result
round()
rsort()
rtrim()
- S
SCANDIR_SORT_NONE
SDL_GetError()
SDL_INIT_VIDEO
SDL_Quit()
SELF
SIGHUP
SIGKILL
SIGTERM
SNMP
SOAP_1_2
SOCK_STREAM
SOL_TCP
SORT_FLAG_CASE
SORT_LOCALE_STRING
SORT_NATURAL
SORT_NUMERIC
SORT_REGULAR
SORT_STRING
SQLITE3_ASSOC
SQLITE3_BOTH
SQLITE3_NUM
SQLite3
STDERR
Secure
Self
SensitiveParameter
SessionHandlerInterface
SessionUpdateTimestampHandlerInterface
Shmop
SimpleXMLElement
SoapClient
Socket
SplFileObject
SplQueue
Sqlite3
Static
StdClass
Stdclass
Stringable
Strtr()
Substr()
Switch()
scandir()
secure
self
sem_get()
session_register_shutdown()
session_start()
session_status()
set_error_handler()
set_exception_handler()
set_magic_quotes_runtime()
setcookie()
setlocale()
setrawcookie()
settype()
sha1()
sha1_file()
shell_exec()
Preferences
shm_attach()
shmop
shmop_open()
show_source()
simplexml_load_file()
simplexml_load_string()
sizeof()
sleep()
snmp
socket
socket_accept()
socket_addrinfo_bind()
socket_addrinfo_connect()
socket_atmark()
socket_cmsg_space()
socket_connect()
socket_create()
socket_create_listen()
socket_import_stream()
socket_last_error()
socket_read()
socket_recvmsg()
socket_sendmsg()
sodium_crypto_core_ristretto255_add()
sodium_crypto_core_ristretto255_from_hash()
sodium_crypto_core_ristretto255_is_valid_point()
sodium_crypto_core_ristretto255_random()
sodium_crypto_core_ristretto255_scalar_add()
sodium_crypto_core_ristretto255_scalar_complement()
sodium_crypto_core_ristretto255_scalar_invert()
sodium_crypto_core_ristretto255_scalar_mul()
sodium_crypto_core_ristretto255_scalar_negate()
sodium_crypto_core_ristretto255_scalar_random()
sodium_crypto_core_ristretto255_scalar_reduce()
sodium_crypto_core_ristretto255_scalar_sub()
sodium_crypto_core_ristretto255_sub()
sodium_crypto_scalarmult_ristretto255()
sodium_crypto_scalarmult_ristretto255_base()
sodium_crypto_stream_xchacha20()
sodium_crypto_stream_xchacha20_keygen()
sodium_crypto_stream_xchacha20_xor()
sodium_crypto_stream_xchacha20_xor_ic()
sort()
spl_autoload_register()
sprintf()
sqlite3
sqlsrv_errors()
srand()
sscanf()
static
Override
Coding conventions
stdClass
stdclass
str_contains()
str_ireplace()
str_pad()
str_repeat()
str_replace()
str_split()
stream_isatty()
stream_select()
stream_set_blocking()
stream_set_chunk_size()
stream_socket_client()
stream_socket_enable_crypto()
stream_socket_server()
strftime()
strip_tags()
stripos()
stristr()
strlen()
strpos()
strptime()
strrchr()
strripos()
strrpos()
strstr()
strtok()
strtolower()
strtotime()
strtoupper()
strtr()
strval()
substr()
substr_count()
substr_replace()
switch()
sys_get_temp_dir()
system()
- T
TRUE
T_COMMENT
T_DOC_COMMENT
T_STRING
Throwable
Tidy
Traversable
True
TypeError
throwable
tidy
time()
token_get_all()
track_errors
trait_exists()
transliterator_create()
transliterator_create_from_rules()
transliterator_create_inverse()
transliterator_get_error_code()
transliterator_get_error_message()
transliterator_list_ids()
transliterator_transliterate()
traversable
trigger_error()
trim()
true
- U
Usort()
uasort()
uksort()
uniqid()
unpack()
unserialize()
urlencode()
usleep()
usort()
utf8_decode()
utf8_encode()
- V
ValueError
var_dump()
var_export()
version_compare()
vfprintf()
vprintf()
vsprintf()
- W
- X
XMLReader
XMLWriter
XSLTProcessor
xmlWriter
xml_parser_create()
xml_parser_create_ns()
xmlreader
xmlwriter
xmlwriter_open_memory()
- Z
zend_logo_guid()
zend_monitor_pass_error()
zlib_decode()
zlib_encode()
- _
_()
__CLASS__
__DIR__
__FILE__
__FUNCTION__
__LINE__
__METHOD__
__NAMESPACE__
__call
__callStatic
__clone
__construct
__debugInfo
__destruct
__get
__invoke
__isset
__set
__set_state
__sleep
__toString
__tostring
__unset
__wakeup
1.5. Directory by PHP Features¶
Exakat links each rules to PHP features.
$HTTP_RAW_POST_DATA
$_FILES
$_GET
$_POST
$_REQUEST
$argc
$argv
$php_errormsg
$this
Abstract Class
Abstract Keyword
Abstract Syntactic Tree
Addition
Alias
Alternative Syntax
Anonymous Class
Arbitrary Number Of Argument
Argument
ArithmeticError Error
Array
Array Append
Array Spread
Array With Curly Braces
ArrayObject
Arrow Functions
Assertions
Assignations
Assumption
Attributes
Backed Enumeration
Binary Integer
Bitwise Operators
Blind Variable
Block
Boolean
Break
CSV
Callables
Callbacks
Case
Case Sensitivity
Cast Operator
Catch
Chaining Exceptions
Class Aliases
Class Autoloading
Class Constants Visibility
Class Getter Method
Class Invasion
Class Operator
Class Setter Method
Classes
Clone
Close Tag
Closure
Closure Binding
Coalesce Operator
Coding Conventions
Command Line Interface
Comparison
Composer
Compression
Concatenation
Concrete Class
Condition
Conditional Structures
Conditioned Structures
Const
Constant Scalar Expression
Constants
Continue
Contravariance
Cookie
Countable Interface
Covariance
Cryptography
Ctype
Curl
Curly Brackets
Cyclomatic Complexity
DRY : don’t repeat yourself
Dates
Dead Code
Debugger
Declaration
Default
Default Value
Definition
Dependency Injection
Deprecation
Dereferencing
Design Pattern
Destructor
Directives
DirectoryIterator
Disable Functions
Disable classes
Disjunctive Normal Form (DNF)
DivisionByZeroError
Do While
Do…while
Double Quotes Strings
Duck Typing
Dynamic Call
Dynamic Class
Dynamic Constant
Dynamic Loading
Dynamic Properties
Dynamic Variable
Echo
Echo Tag
Ellipsis
Empty
Encoding
Enumeration
Enumeration Case
Environment Variables
Error
Error Handler
Escape Sequences
Eval()
Event Loop
Exception
Exit
Exponent
Exponential
Extensions
Fallback Function
False
Feature
File
File Upload
FileSystemIterator
Final Class Constants
Final Keyword
Finally
First Class Callable
Floating Point Numbers
Fluent Interface
For
Foreach
Format
Fossilized Methods
Framework
Fully Qualified Name
Function Subscripting
Functions
GLOBALS, the variable
Generator
Global Code
Global Space
Global Variables
Goto
Goto Labels
HTML entity
HTTP headers
HTTPS
Hard Coded
Hash
Heredocs
Hexadecimal Integer
Hyper Text Transfer Protocol (HTTP)
Iconv
Idempotent
If Then Else
Iffectation
ImagickException
ImagickPixelException
Immutable
Inclusions
Incoming Data
Increment
Indentation
Index
Index for arrays
Inequality
Infinite
Inheritance
Initialisation
Injection
Insteadof
Interfaces
Internationalization
Interpolation
Intersection Type
InvalidArgumentException
Isset
Iterable
JSON
JsonException
Keyword
Language construct
Lazy Loading
Liskov Substitution Principle
List
Literal
Locale
Log
Logical operators
Loops
MD5
Magic Constants
Magic Methods
Magic Property
Map
Match
Memoization
Method
Micro-optimisation
Microtime()
Mixed
Multibyte String
Multidimensional Array
Named Parameters
Namespaces
Naming
Native
Nested Attributes
Nesting
Never Type
New In Initializers
Non Breakable Spaces
Nowdocs
Null
Null Safe Object Operator
Nullable
Numeric Separator
Object
Object API
Object Invasion
Object Nullsafe Operator ?->
Object Operator ->
Octal Integer
Opcode
OpenSSL
Operator Precedence
Operators
Optional Parameter
Outgoing Data
Overenginer
Overwrite
PDOException
PEAR
PECL
PHP Handlers
PHP Predefined Exception
PHP Profiler
PHP Standards Recommendations (PSR)
PHP Tags
PHP Variables
Parameter
Parenthesis
Passing By Reference
Passing By Value
Password
Path
PharException
Precedence
Predefined Constants
Preprocessing
Private Visibility
Promoted Properties
Properties
Property Type Declaration
Protocol
Public Visibility
Query
Query String
Random
Readability
Readonly
Real Numbers
Recursion
References
Reflection
ReflectionException
Register Globals
Regular Expressions
Remote Procedure Call
Reserved Names
Return
Return Type Will Change
Return Typehint
Return Value
SAPI
SSL
SVMException
Scalar Types
Scope Resolution Operator
+ :ref:`Scope Resolution Operator <scope-resolution-operator>`Self
Semantics
Serialization
Session
Shell
Short Assignations
Short Syntax
Short Tags
Short Ternary Operator
Silent Behavior
Single Quotes Strings
Sort
Spaceship Operator
Static Constant
Static Method
Static Variables
Strict Comparison
String
String Interpolation
Stringable
Stubs Files
Superglobal Variables
Switch
Switch Fallthrough
System Call
Taint Analysis
Ternary Operator
Test
Throwable
Tick
Trailing Comma
Traits
Try-catch
Type Error
Type Juggling
Type System
TypeError
Typo
UnexpectedValueException
Unicode
Union Type
Universal Resource Locator (URL)
Unreachable Code
Unused
Use
Use Alias
Validation
Variable Variables
Variables
Variadic
Virtual Machine
Visibility
Void
While
Whitespace
XML
XXTEA
Yield
__halt_compiler()
basename
browscap
compact()
constructor
crc32
declare()
define()
dirname
extends
extract()
glob()
global Scope
implements
include
instanceof
integer
libsodium
mcrypt Extension
mysqli_sql_exception
new
pack
parent
phpinfo()
plus +
resource
sleep
sprintf
static
stdclass
strict_types
throw
unset()
yield from Keyword
1.6. Directory by PHP Error message¶
Exakat helps reduce the amount of error and warning that code is producing by reporting pattern that are likely to emit errors.
264 PHP error message detailled :
“boolean” will be interpreted as a class name. Did you mean “bool”?
“continue” targeting switch is equivalent to “break”. Did you mean to use “continue 2”?
$GLOBALS can only be modified using the $GLOBALS[$name] = $value syntax
A function with return type must return a value (did you mean “return null;” instead of “return;”?)
Abstract function t::someAbstractPrivateFunction() cannot be declared private
Access level to Bar::$publicProperty must be public (as in class Foo)
An alias (%s) was defined for method %s(), but this method does not exist
Argument #2 ($encoding) must be a valid encoding, “xxx” given
Argument 1 passed to foo() must be of the type integer, string given
Array and string offset access syntax with curly braces is deprecated
Attribute “AttributeFunction” cannot target Class (allowed targets: Function)
Calling static trait method t::t is deprecated, it should only be called on a class using the trait
Cannot access parent:: when current class scope has no parent
Cannot access parent:: when current class scope has no parent
Cannot access parent:: when current class scope has no parent
Cannot call __clone() method on objects - use ‘clone $obj’ instead
Cannot inherit previously-inherited or override constant A from interface
Cannot inherit previously-inherited or override constant A from interface i
Cannot use “”parent”” when current class scope has no parent
Cannot use int as default value for parameter $a of type string
Cannot use int as default value for property x::$a of type string
Cannot use isset() on the result of an expression (you can use “null !== expression” instead)
Cannot use isset() on the result of an expression (you can use “null !== expression” instead)
Case-insensitive constants are deprecated. The correct casing for this constant is “A”
Class bar cannot implement previously implemented interface i
Class fooThrowable cannot implement interface Throwable, extend Exception or Error instead
Class x must implement interface Traversable as part of either Iterator or IteratorAggregate
Declaration of FooParent::Bar() must be compatible with FooChildren::Bar()
Declaration of a::foo($a) should be compatible with ab1::foo($a)
Declaration of ab::foo($a) must be compatible with a::foo($a = 1)
Declaration of ab::foo($a) must be compatible with a::foo($a = 1)
Declaration of ab::foo($a) should be compatible with a::foo($a = 1)
Declaration of ab::foo($a) should be compatible with a::foo($a = 1)
Default value for parameters with a int type can only be int or NULL
Defining a custom assert() function is deprecated, as the function has special semantics
Deprecated: Required parameter $y follows optional parameter $x
Implicit conversion from float 3.141592653589793 to int loses precision
Indirect modification of overloaded property c::$b has no effect
Passing null to parameter #2 ($offset) of type int is deprecated
Private constant MyClass::Z cannot be final as it is not visible to other classes
Private methods cannot be final as they are never overridden by other classes
Return value of foo() must be an instance of Bar, none returned
Return value of foo() must be of the type int, string returned
The behavior of unparenthesized expressions containing both ‘.’ and ‘>>’/’
The each() function is deprecated. This message will be suppressed on further calls
The parent constructor was not called: the object is in an invalid state
Too few arguments to function foo(), 1 passed and exactly 2 expected
Too few arguments to function foo(), 1 passed and exactly 2 expected
Trait method M has not been applied, because there are collisions with other trait methods on C
Trait method f has not been applied, because there are collisions with other trait methods on x
Typed property x::$p2 must not be accessed before initialization
Uncaught ArgumentCountError: Too few arguments to function, 0 passed
Uncaught TypeError: Cannot auto-initialize an array inside property x::$P of type bool
Use of undefined constant y - assumed ‘y’ (this will throw an Error in a future version of PHP)
Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead
__autoload() is deprecated, use spl_autoload_register() instead
class_alias(): Argument #1 ($class) must be a user-defined class name, internal class name given
define(): Declaration of case-insensitive constants is deprecated
iconv(): Wrong charset, conversion from UTF-8’ to ASCII//TRANSLIT’ is not allowed
include(a.php): failed to open stream: No such file or directory
syntax error, unexpected ‘&’, expecting variable (T_VARIABLE)
syntax error, unexpected ‘|’, expecting variable (T_VARIABLE)
version_compare(): Argument #3 ($operator) must be a valid comparison operator
1.7. Directory by Exception¶
Exakat has rules that help identify possible exceptions in the code.
ArgumentCountError
ArithmeticError Error
DivisionByZeroError
Exception
ImagickException
ImagickPixelException
InvalidArgumentException
JsonException
PDOException
PharException
ReflectionException
SVMException
Type Error
TypeError
UnexpectedValueException
UnhandledMatchError
mysqli_sql_exception