📁 PHP Dosya Yöneticisi
/
/
home
/
demodesigncom
/
organikurun.demodesign.com.tr
/
vendor
/
twig
/
twig
/
doc
/
filters
📝
length.rst
← Geri Dön
``length`` ========== .. versionadded:: 2.3 Support for the ``__toString()`` magic method has been added in Twig 2.3. The ``length`` filter returns the number of items of a sequence or mapping, or the length of a string. For objects that implement the ``Countable`` interface, ``length`` will use the return value of the ``count()`` method. For objects that implement the ``__toString()`` magic method (and not ``Countable``), it will return the length of the string provided by that method. For objects that implement the ``IteratorAggregate`` interface, ``length`` will use the return value of the ``iterator_count()`` method. .. code-block:: jinja {% if users|length > 10 %} ... {% endif %}
💾 Kaydet
İptal
📝 Yeniden Adlandır
İptal
Kaydet
🔐 Dosya İzinleri (chmod)
İzin Değeri:
Hızlı Seçim:
777
755
644
600
777
= Herkes okur/yazar/çalıştırır
755
= Sahip tam, diğerleri okur/çalıştırır
644
= Sahip okur/yazar, diğerleri okur
600
= Sadece sahip okur/yazar
İptal
Uygula