1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00
Files
archived-php-src/ext
Tim Düsterhus 70117e53b9 sockets: Use return true / return false for functions returning bool
Changes done with Coccinelle:

    @r1@
    identifier fn;
    typedef bool;
    symbol false;
    symbol true;
    @@

    bool fn ( ... )
    {
    <...
    return
    (
    - 0
    + false
    |
    - 1
    + true
    )
    ;
    ...>
    }

Coccinelle patch sourced from
torvalds/linux@46b5c9b856.
2025-09-24 18:51:40 +02:00
..
2025-09-22 15:43:47 +02:00
2025-09-23 16:42:31 +02:00
2025-09-07 18:19:21 +01:00
2025-07-29 14:00:37 +02:00
2025-08-15 08:08:16 +01:00
2025-09-09 19:36:00 +02:00
2025-08-16 19:28:11 +01:00
2025-07-20 17:20:53 +02:00