PHP

Even with a strong Captcha system in place, you will still find users trying to manually spam your web site. They tend to be people who discover your site through a very specific search engine query, for which they would like their own site to also rank well, and they hope that by adding a link back to their site from yours this will happen. Using this recipe, you can specify a set of keywords that will trigger spam detection, and then use the level of spam certainty returned by the function to decide whether to ignore a user post. [https://www.chat-to.dev/post?id=11](https://www.chat-to.dev/post?id=11) [#php](https://kbin.social/tag/php) [#programming](https://kbin.social/tag/programming)

0
4
php
PHP lankybiker 1y ago 83%
ZCE is dead
https://home.pearsonvue.com/zend

The ZCE exam is dead There were a lot of haters, but it is/was the only seriously challenging general PHP qualificiation that I'm aware of If you could pass it without cheating, then it proved - in my opinion - that you had a good general grasp of PHP concepts rather than being a "framwork developer" who can't really handle raw/unfamiliar PHP code I can't find any alternatives which is a shame as PHP 8 has brought the language on a lot and it would be great to have a ZCE 8 to go with it

8
2
https://wiki.php.net/rfc/domdocument_html5_parser

Link to internals discussion: https://externals.io/message/120972

3
2
https://aoeex.com/phile/php-fibers-the-event-loop/

A good article on implementing an event loop in PHP using the built-in fibers.

6
2
https://withinboredom.info/2023/08/11/symfony-doctrines-docs-has-caused-more-bugs-than-anything-else/

The article title is a little clickbaity, but basically, Doctrine and Symfony documentation don't mention that you can use constructor almost anywhere in the documentation.

-1
0
github.com

A while ago I made this Symfony bundle that automagically memoizes your service methods using a PSR-6 cache. Usage is very simple in 3 steps: 1. have the service you want to memoize implement any interface 2. mark the service with the `#[Memoizable]` attribute 3. mark methods (or whole service) with the `#[Memoize]` attribute Done!

6
0
php
PHP bsorsdahl 1y ago 100%
Any suggestions??

Old coder looking to get back into it. At least as a hobby.. have not worked with php since 2000ish. Any suggestions where to start?

6
2
https://packagist.org/packages/rikudou/lemmy-api

Now you can go nuts with all the bots you can think of! Any feedback welcome.

1
0
https://wiki.php.net/rfc/interface-default-methods

Why is this needed? Don't Traits already cover this functionality?

1
0
php
PHP dan 1y ago 100%
Anybody used Swoole?

What are your thoughts on it? It's performance much better than FPM? Have you used hyperf, or another framework with it, and if so, what do you think about them?

2
1
php
PHP Madpeter 1y ago 100%
Welcome

Not much here yet but lets change that. news & stuff related to php from around the internet.

2
3