rfc:curl_setopt_strict_types

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
rfc:curl_setopt_strict_types [2017/04/22 03:19] – Minor edits colinodellrfc:curl_setopt_strict_types [2017/04/22 11:49] – Add URL to discussion thread colinodell
Line 4: Line 4:
   * Author: Colin O'Dell <colinodell@gmail.com>   * Author: Colin O'Dell <colinodell@gmail.com>
   * Author: Sara Golemon <pollita@php.net>   * Author: Sara Golemon <pollita@php.net>
-  * Status: Draft+  * Status: Under Discussion
   * First Published at: https://wiki.php.net/rfc/curl_setopt_strict_types   * First Published at: https://wiki.php.net/rfc/curl_setopt_strict_types
  
Line 40: Line 40:
 ===== Proposal ===== ===== Proposal =====
  
-When ''declare(strict_types=1)'' is used, PHP will now check the third argument of ''curl_setopt'' to ensure it contains the expected type for the given setting.  Checks will be added for the following types:+When ''declare(strict_types=1)'' is used, PHP will now check the third argument of ''curl_setopt()'' to ensure it contains the expected type for the given setting.  Checks will be added for the following types:
  
   * ''bool''   * ''bool''
Line 76: Line 76:
  
 ===== References ===== ===== References =====
-Mailing list discussion: TODO+Mailing list discussion: [[http://marc.info/?l=php-internals&m=149286128912117&w=2]]
rfc/curl_setopt_strict_types.txt · Last modified: 2017/09/22 13:28 by 127.0.0.1