[wp-trac] [WordPress Trac] #58612: Invalid return type "void" for get_post_custom_keys

WordPress Trac noreply at wordpress.org
Fri Jun 23 14:55:31 UTC 2023


#58612: Invalid return type "void" for get_post_custom_keys
-------------------------+-----------------------------
 Reporter:  kesselb      |      Owner:  (none)
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  General      |    Version:  trunk
 Severity:  normal       |   Keywords:
  Focuses:               |
-------------------------+-----------------------------
 Source

 {{{#!php
 <?php

 function test() {
     return;
 }

 var_dump(test());
 }}}

 Output


 {{{
 NULL
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/58612>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list