Just by looking at the latest version of PHP coding standards, and something caught my attention:
http://svn.php.net/viewvc/php/php-src/trunk/CODING_STANDARDS?revision=296679&view=markup
Coding Standard # 4 states that "When writing string-related functions, be sure to remember that PHP contains a property for the length of each line and that it should not be calculated using strlen () ..."
I ALWAYS used strlen, and maybe it's only late, but how do you access the built-in string length property in PHP?
C, PHP. C \0, PHP \0 , .
\0
, PHP C PHP-.
========================PHP============ ============, , PHP. PHP v3.0, , . 4 .
, , , , PHP.
, , - .
zval ( C), Z_STRLEN (your_zval) . zend_operators.h 398 (PHP 5.4):
#define Z_STRLEN(zval) (zval).value.str.len
Source: https://habr.com/ru/post/1774454/More articles:How to set C # variable value from javascript - javascriptLog4net: moving a file by utc date, not by server date - configurationQuestion about Java SocketPermission Policy - javaMoving a file by utc date, not server date - timeThe algorithm for obtaining a unique and the same hash code for an object when the application is run multiple times - javaCocoa Touch - User form UIButton - iosHow to avoid caching user control in asp.net mvc? - cachingIs it possible to have an embedded database in a web application? - javahttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1774458/what-will-be-the-best-embedded-database-to-be-used-with-a-small-java-desktop-application&usg=ALkJrhgDr94-NLEEcrfm9De0xBsEjbXDHAHow to redirect non-zend link from zend app - redirectAll Articles