Answer the question
In order to leave comments, you need to log in
How much memory does a space character take?
So I write code like this, I have a lot of spaces and often ask myself this question, how much space does the space character take?
function ( $a ) {
...
//или
function($a){
...
/** super-duper function [ calculates whatever]
* $a our whatever
* return ERROR
*/
function($a)
{...
Answer the question
In order to leave comments, you need to log in
in UTF-16 two bytes
in UTF-8/cp1251/KOI8/CP866 one byte.
In the compiled program, your spaces will not be present at all.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question