Answers for "sizeof() php"

PHP
30

php length of array

<?php
	$arr = ["one", "two", "three", "four"];
	echo count($arr);
  ?>
Posted by: Guest on December-29-2019
0

how to get length of object in php

$total = count((array)$obj);
Posted by: Guest on November-23-2020
-2

php sizeof

#logo {
  width: 5em;
  height: 5em;
  background: #ABC;
}
.main-page #logo {
  position: absolute;
  left: 1em;
  top: 1em;
}
Posted by: Guest on October-17-2020

Browse Popular Code Answers by Language