Make WordPress Core

Changes between Version 1 and Version 2 of Ticket #55942, comment 14


Ignore:
Timestamp:
07/20/2022 11:01:15 PM (2 years ago)
Author:
azaozz
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #55942, comment 14

    v1 v2  
    2727Wondering if `NULL` (the PHP type) should map to `"NULL"` in the ENUM. Seems logical but might run into some problems later on, perhaps?
    2828
    29 Thinking this shouldn't support "resource" and "resource (closed)". Currently not supported afaik, and not sure it's a good idea to save a PHP resource in the DB (not even sure how/if that can still be used somehow after retrieving it).
     29Thinking this should not support "resource" and "resource (closed)". Currently not supported afaik, and not sure it's a good idea to save a PHP resource in the DB (not even sure how/if that can still be used somehow after retrieving it).
    3030
    3131The rest are pretty self-explanatory. Array and Object will be serialized, the others can be typecast when retrieving, or it can use `settype()` (https://www.php.net/manual/en/function.settype.php).