Skip Navigation
PHP

Welcome to /c/php! This is a community for PHP developers and enthusiasts to share and discuss anything related to PHP. From the latest updates and tutorials, to your burning questions and amazing personal projects, we welcome all contributions.

Let's foster an environment of respect, learning, and mutual growth. Whether you're an experienced PHP developer, a beginner, or just interested in learning more about PHP, we're glad to have you here!

Let's code, learn, and grow together!

Members
651
Posts
83
Active Today
1
Created
2 yr. ago
  • PHP @programming.dev
    Olissipo @programming.dev

    PHP 8.4 was released

    www.php.net PHP: PHP 8.4 Release Announcement

    PHP 8.4 is a major update of the PHP language. It contains many new features, such as property hooks, asymmetric visibility, an updated DOM API, performance improvements, bug fixes, and general cleanup.

    PHP: PHP 8.4 Release Announcement
  • PHP @programming.dev
    psion1369 @lemmy.world

    SeleneCMS - Content Management for Symfony

    I've been working on this on and off, could use some other eyes to help expand features, maybe some pull requests. Let me know what you think. I just uploaded version 0.0.12 and I am going to start working on 0.0.13. The CMS is built in a bundle, so that's where most of the features are. What I have linked here is the skeleton app, but installation is still beefy. Thanks everyone!

    Edit: Forgot the link to the bundle https://github.com/SeleneSoftware/seleneCMSBundle

  • PHP @programming.dev
    trymeout @lemmy.world

    Should I create functions for packages/libraries that allow optional parameters to accept null as a value?

    Should I create functions for packages/libraries that allow optional parameters to accept null?

    In this example below, I set the 3rd and 4th parameter as null which will act as the default value.

     undefined
        
    myLibrary::myFunction(1, 7, null, null, true);
    
      

    Or is this not a good way to go about creating functions for a package and therefore should not accept null as a parameter value.

     undefined
        
    myLibrary::myFunction(1, 7, false, 4, true);
    
    
      
  • PHP @programming.dev
    lens0021 @lemmy.ml
    php.watch PHP Release Cycle Update

    The PHP release cycle changes to extend the active support for all current and future PHP versions from one year to two years, and to align the support timelines to the end of the calendar year.

    PHP Release Cycle Update
  • PHP @programming.dev
    prwnr @programming.dev
  • PHP @programming.dev
    prwnr @programming.dev

    PHPStorm to VSCode migration?

    I want to try to migrate from PHPStorm to VSCode, what plugins to get to have the experience similar? I mean the code inspections, renaming, usage etc. Will PHL Intelephense plugin be all I need to achieve this? with xdebug and phpunit plugins in addition to that, or there are some other plugins that make the transition better?

  • PHP @programming.dev
    Mac @programming.dev

    PHP 8.3.10 Released

  • PHP @programming.dev
    Mac @programming.dev

    PHP 8.4.0 Alpha 4 available for testing

  • PHP @programming.dev
    Mac @programming.dev

    PHP Weekly - July 18th 2024

  • PHP @programming.dev
    Mac @programming.dev

    PHP 8.4.0 Alpha 2 available for testing

  • PHP @programming.dev
    Mac @programming.dev
  • PHP @programming.dev
    Nemeski @lemm.ee