Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. FFICaster.php

FFICaster::MAX_STRING_LENGTH

In case of "char*" contains a string, the length of which depends on some other parameter, then during the generation of the string it is possible to go beyond the allowable memory area.

This restriction serves to ensure that processing does not take up the entire allowable PHP memory limit.

File

vendor/symfony/var-dumper/Caster/FFICaster.php, line 33

Class

FFICaster
Casts FFI extension classes to array representation.

Namespace

Symfony\Component\VarDumper\Caster

Code

private const MAX_STRING_LENGTH = 255;

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal