.settings.php - PHP Online

Form of PHP Sandbox

Enter Your PHP code here for testing/debugging in the Online PHP Sandbox. As in the usual PHP files, you can also add HTML, but do not forget to add the tag <?php in the places where the PHP script should be executed.



Your result can be seen below.

Result of php executing





Full code of .settings.php.php

  1. <?php
  2. return array (
  3.   'session' => array (
  4.   'value' => 
  5.   array (
  6.     'mode' => 'default',
  7.     'handlers' => 
  8.     array (
  9.       'general' => 
  10.       array (
  11.         '_fromSecurity' => true,
  12.         'type' => 'database',
  13.       ),
  14.     ),
  15.   ),
  16.   'readonly' => true,
  17. ),
  18.   'utf_mode' => 
  19.   array (
  20.     'value' => true,
  21.     'readonly' => true,
  22.   ),
  23.   'cache_flags' => 
  24.   array (
  25.     'value' => 
  26.     array (
  27.       'config_options' => 3600,
  28.       'site_domain' => 3600,
  29.     ),
  30.     'readonly' => false,
  31.   ),
  32.   'cookies' => 
  33.   array (
  34.     'value' => 
  35.     array (
  36.       'secure' => false,
  37.       'http_only' => true,
  38.     ),
  39.     'readonly' => false,
  40.   ),
  41.   'exception_handling' => 
  42.   array (
  43.     'value' => 
  44.     array (
  45.       'debug' => false,
  46.       'handled_errors_types' => 4437,
  47.       'exception_errors_types' => 4437,
  48.       'ignore_silence' => false,
  49.       'assertion_throws_exception' => true,
  50.       'assertion_error_type' => 256,
  51.       'log' => NULL,
  52.     ),
  53.     'readonly' => false,
  54.   ),
  55.   'connections' => 
  56.   array (
  57.     'value' => 
  58.     array (
  59.       'default' => 
  60.       array (
  61.         'className' => '\\Bitrix\\Main\\DB\\MysqliConnection',
  62.         'host' => 'localhost',
  63.         'database' => 'admin_bitrix',
  64.         'login' => 'admin_bitrix',
  65.         'password' => 'V1WGBnCw',
  66.         'options' => 2,
  67.       ),
  68.     ),
  69.     'readonly' => true,
  70.   ),
  71. );
File Description
  • .settings.php
  • PHP Code
  • 19 Feb-2021
  • 1.31 Kb
You can Share it: