-
What does `::class` return for parameterized types?
For example:
```php
class Box {
public function __construct() {
var_dump(T::class);
}
}
$box = new Box();
```
Do you expec…
-
Template hook system, allowing plugins and modules to easily output and modify template content without requiring edits to templates (removing the requirement for `find_replace_templatesets`). This sh…
-
We all know that most of the code here is crap. It limits us in terms of development speed, flexibility and extensibility.
This issue is to discuss what the future of the frogsystem will look like.
-
Execute the command and paste the result below.
Command: `uname -a && php -v && composer info | grep hyperf && php --ri swoole`
```bash
Linux 8407509b51dc 3.10.0-1160.88.1.el7.x86_64 #1 SMP Tue…
-
Following the [docs](https://getcomposer.org/doc/03-cli.md#prohibits-why-not), I'm trying to ensure that my code base will work when upgrading PHP from 8.1 to 8.2.
My `composer.json` is nothing…
-
### Sail Version
1.31.2
### Laravel Version
11.1.5
### PHP Version
8.3
### Operating System
Windows (WSL)
### OS Version
11
### Description
Laravel Sail, WSL - Ubuntu …
-
Hi,
i'm getting error mentioned in title, so i'm not sure what could be wrong in my config, let me show...
Yii version: 2.0.14.1, PHP version 7.0.16
Code in model:
```
public function behavio…
-
Within a WordPress environment it is sometimes important that instances of classes are only created once, for example to prevent double filter and action hooks. For example, there are several iDEAL Ba…
-
**Describe the bug**
When a file is chosen to be uploaded system trows the following exception and the file fails to upload:
PHP Fatal error: Uncaught Error: Call to a member function isValid()…
-
At this time, me and some other folks from contributte are working on supporting PHP 8.
We are going to change from `php: ^7.2` to `php: >=7.2`. Like [here](https://github.com/contributte/bootstrap…