#php

269 posts · Last used 3d

Back to Timeline
Derick Rethans @derickr@phpc.social · 3d ago

Is there somebody who runs PHP on native windows (with Xdebug) and can run a simple script for me?

It must be in a file (test.php):

<?php
echo microtime(true), "\n";
xdebug_connect_to_client();
echo microtime(true), "\n";

And run like:

php -dxdebug.log_level=11 -dxdebug.log=c:\temp\xdebug-i.log -dxdebug.client_host=localhost -dxdebug.client_port=9111 -dxdebug.mode=debug c:\temp\test.php

With the port 9111 not open.

Would love to see the output and log file (in a DM).

#xdebug #php

1
1
3
alster @alsternerd@akkoma.alster.space · 3d ago
Danke FreshRSS-FAQ! Der SystemD-Service muss dem ganzen Spaß noch die Berechtigung zum Schreiben mitgeben. In /usr/lib/systemd/system/php8.4-fpm.service musste noch ein ReadWritePaths=/usr/share/FreshRSS/data/ dazu. https://freshrss.github.io/FreshRSS/en/users/07_Frequently_Asked_Questions.html#permission-denied-under-usr-share-with-php-fpm #FreshRSS #PHP #PHPFPM #Debian
0
0
0
Alerta! Alerta! @heiglandreas@phpc.social · 4d ago
So... PHP and Javascript comparison.... Parsing a URL: PHP: var_Dump(parse_url('example.com:80')); array(2) { ["host"]=> string(11) "example.com" ["port"]=> int(80) } JavaScript: a = new URL('example.com:80'); URL { href: "example.com:80", origin: "null", protocol: "example.com:", username: "", password: "", host: "", hostname: "", port: "", pathname: "80", search: "" } I know which side *I* stick with.... #PHP #JavaScript
0
2
0
LaraPlugins.io @LaraPlugins@phpc.social · 4d ago
New package: laraplugins/doctor-health. A Laravel Doctor diagnostic that checks every composer dependency against the LaraPlugins health index. Run php artisan doctor and each package gets a verdict: healthy, medium, unhealthy, or archived. Per-package breakdown included, so you know exactly what to fix. composer require laraplugins/doctor-health https://github.com/LaraPlugins/doctor-health #Laravel #PHP #programming
0
0
0
Sebastian Bergmann :phpunit: @sebastian@phpc.social · 6d ago
Only one more week until @FrOSCon@bonn.social in Sankt Augustin, the premier German Open Source conference, from the community for the community. 🎉 When I'm not on stage for my presentation "Supply Chain Security in the PHP Ecosystem", you'll find me at @thephpf@phpc.social's booth in the community expo hall. @beberlei@phpc.social and I cannot wait to meet you all and discuss the work of the foundation. Come say hi! https://phpunit.expert/events/froscon-2026.html?ref=mastodon #FrOSCon #PHP #OpenSource
0
0
0
Benjamin Eberlei @beberlei@phpc.social · Aug 06, 2026
I dug deep into our huge dataset of production PHP applications and found: In one third of PHP projects processing takes up 50% or more of the time, and I/O less than that. https://tideways.com/profiler/blog/mythbusting-php-is-rarely-the-bottleneck-data-shows-40-of-time-spent-in-php #php #performance
7
1
11
DrupalCon Orlando 2027 @drupalcon@mastodon.social · Aug 07, 2026
✨️ We've got a little surprise waiting for you in Orlando! ✨️ Early Bird registrants for DrupalCon Orlando 2027 will receive a limited-edition PHP elePHPant x DrupalCon plush. It will be available for pickup onsite while supplies last, you better be ready to register as soon as Early Bird goes live from September 14, 2026 at $650! 🔗 More details at: https://events.drupal.org/orlando2027/ticket-rates-and-details #Drupal #DrupalCon #DrupalConOrlando #PHP #OpenSource
0
0
0
Chris Hartjes @grmpyprogrammer@yac.grumpy-learning.com · Aug 06, 2026
0
1
0
Exakat @Exakat@phpc.social · Aug 07, 2026
Replying to @grmpyprogrammer@yac.grumpy-learning.com
@grmpyprogrammer@yac.grumpy-learning.com The best elephpant is the one that stand with you while you code and whispers: #PHP delivers! And there are so many of them! Including the mamoth!
0
0
0
markus staab @markusstaab@phpc.social · Aug 06, 2026
@OndrejMirtes@phpc.social handed me over a list of #php-src commits to verify and contribute to the php runtime. So I started opening pull requests on the php project to improve performance of #phpstan. Lets see how it goes - wish me luck :-)
1
1
0
Daniel @danielpetrica@infosec.exchange · Aug 06, 2026
Started a blog for LaraPlugins. First post: our 151.37 HackerNoon Proof of Usefulness score breakdown. I'll be writing openly about building a community tool. Architecture decisions, traffic numbers, things that break, things that work. One developer avoiding an abandoned package because of something here is enough. Coming: MCP deep dive, what broke, full survey results. https://laraplugins.io/blog/laraplugins-proof-of-usefulness-hackernoon-2026 #Laravel #PHP #OpenSource #buildinpublic
0
0
0
Dima @dima@dol.social · Aug 06, 2026
Good read on what is coming in PHP 8.6, out November 19. Partial function application is the one I keep rereading. str_replace(' ', '-', ?) gives you a closure with the rest prefilled, and it finally makes the pipe operator from 8.5 pleasant to use. Plus a Duration class, a built-in clamp, and session cookies defaulting to httponly and SameSite Lax, which should have been the default a decade ago. I did not pick this language 19 years ago. It picked me somehow. First thing that ran on the AppServ (does someone still remember it? 🥲 ), and everything after that followed from an accident. People have been burying it that entire time. It keeps getting quietly better instead. https://stitcher.io/blog/new-in-php-86 #PHP #PHP86 #WebDev #Programming #Backend #Blog #Thoughts
0
0
0
Daniel Badura @danielbadura@phpc.social · Aug 05, 2026
I wrote a small blog post about the new release of patchlevel/event-sourcing-phpstan-extension, 1.3.0 adds three new rules. They report aggregate properties that no event ever fills, state that nothing ever reads, and state that changes outside an apply method. Also, every rule can be turned off individually. Feel free to check it out! https://patchlevel.dev/blog/what-is-new-in-the-event-sourcing-phpstan-extension-1-3-0 #TechBlog #PHP #DDD #EventSourcing #PHPStan #StaticAnalysis
0
0
0
Gina Peter Banyard @Girgias@phpc.social · Aug 04, 2026
So people want to see some live coding. I'm going to _try_ to do a stream tomorrow around 1400 BST, implementing the proposal likely to pass from the #PHP 8.6 mass deprecation RFC. Will be at https://phpc.tv/c/rant_time/videos (hopefully) Not sure if following @girgias@phpc.tv or the channel will give you notifications directly on Fedi :thinking: https://phpc.social/@Girgias/117026802586541450
1
2
2
Dutch PHP Conference @dutchphpconference@mastodon.social · Aug 04, 2026
📅 Save the date! Dutch PHP Conference returns from 16–19 March 2027. Expect another inspiring edition dedicated to PHP development, knowledge sharing and connecting with fellow developers. Mark your calendar and stay tuned for more information! 🚀 #dpc27 #php #phpdevelopment #techconference #savethedate
0
0
1
The PHP Foundation @thephpf@phpc.social · Aug 04, 2026
We have a new addition to The PHP Foundation Governing Board: Anne McCarthy from Automattic. Anne brings a balanced mix of thoughtful empathy and deep technical knowledge and will bring tremendous insight to the Board. Welcome, Anne! Read more https://thephp.foundation/blog/2026/08/04/anne-mccarthy-joins-the-board/👇 #php #automattic #wordpress #phpcommunity
6
1
3
Joel Clermont @jclermont@phpc.social · Aug 04, 2026
Laravel 13 ships with a hardened cache serialization default. It's a real security win, but when it breaks, you don't get an exception. Here's how it works and what to watch for. #php #laravel https://masteringlaravel.io/daily/2026-08-04-the-sneaky-failure-mode-in-laravel-13s-hardened-cache
0
1
0
Skye @skye@indieweb.social · Aug 04, 2026
One thing I keep running into: Why is #PHP LSP support so bad? I'm yet to find a PHP codebase that doesn't have clear issues with it in any text editor that isn't VSCode or PHPStorm. I can't even tell whether the issue is with the text editor plugins or the LSP itself. Have people just decided "fuck it, everyone be on VSCode now" or is PHP just too full of weird "magic" for its own good.
2
2
0
Thomas @thbley@phpc.social · Aug 03, 2026

I've made a new release: DuckDB driver for Laravel

Support for views Bugfixes: year default expression, parameter serialization CI tests: project setup, macOS, Windows more examples in the readme:

  • read and write Parquet files
  • copy data from MySQL/MariaDB/PostgreSQL to Parquet
  • community extensions
  • performance example
  • read public data
  • Eloquent Models, schema and query builder for special types

https://github.com/thomas-0816/laravel-pdo-duckdb

#php #laravel #analytics #duckdb #eloquent #bigdata

0
0
0