Feed items

  • warning: Declaration of views_handler_argument::init(&$view, &$options) should be compatible with views_handler::init(&$view, $options) in /home/clients/ru/domains/development4web.com/html/sites/all/modules/views/handlers/views_handler_argument.inc on line 48.
  • warning: Declaration of views_handler_filter_boolean_operator::value_validate(&$form, &$form_state) should be compatible with views_handler_filter::value_validate($form, &$form_state) in /home/clients/ru/domains/development4web.com/html/sites/all/modules/views/handlers/views_handler_filter_boolean_operator.inc on line 111.
  • warning: Declaration of views_plugin_row_node_view::options_form(&$form, &$form_state) should be compatible with views_plugin_row::options_form($form, &$form_state) in /home/clients/ru/domains/development4web.com/html/sites/all/modules/views/modules/node/views_plugin_row_node_view.inc on line 35.

PHP 8.1.11 Released!

The PHP development team announces the immediate availability of PHP 8.1.11. This is a security release.

All PHP 8.1 users are encouraged to upgrade to this version.

For source downloads of PHP 8.1.11 please visit our downloads page,
Windows source and binaries can be found on windows.php.net/download/.
The list of changes is recorded in the ChangeLog.





Writing to the Database with Eloquent


Eloquent is one of the most powerful and amazing features in a modern framework today. From casting data to value objects, transactions, and relationships.
The post Writing to the Database with Eloquent appeared first on Laravel News.





SymfonyCon Disneyland Paris 2022: Building a great product means designing for your users.

Did you notice that a new track appeared in the SymfonyCon Disneyland Paris 2022 program?

We are super excited to announce that new speakers are joining us and that you will discover them every day through the blog posts! Today it is the turn of:





PHP 7.4.32 Released!

The PHP development team announces the immediate availability of PHP 7.4.32. This is a security release.

This release addresses an infinite recursion with specially
constructed phar files, and prevents a clash with variable name mangling for
the __Host/__Secure HTTP headers.

All PHP 7.4 users are encouraged to upgrade to this version.





[wiki] Convert JSON data to html table for display on page

I have a calls which help me display json directly in html table.
Json2Table::formatContent($json);

The code of Json2Table class is here
============================================





[wiki] GridView show sum of columns in footer.

GridView show sum of columns in footer
`PHP
use yii\grid\DataColumn;
/**

  • Sum of all the values in the column
  • @author shiv

    /
    class TSumColumn extends DataColumn {
    public function getDataCellValue($model, $key, $index)
    {




Laravel 9.32 Released


The Laravel team released 9.32 with dd() file and line output, encrypting and decrypting .env files, a short syntax for blade component attributes, and more.
The post Laravel 9.32 Released appeared first on Laravel News.





Twig security release: Possibility to load a template outside a configured directory when using the filesystem loader

Affected versions

Twig >1.0.0,<1.44.7 || >2.0.0,<2.15.3 || >3.0.0,<3.4.3 are affected by this security issue.

The issue has been fixed in Twig 1.44.7, 2.15.3 and 3.4.3.

Description

When using the filesystem loader to load templates for which the name is a user input, it is possible to use the source or include statement to read arbitrary files from outside the templates directory when using a namespace like @somewhere/../some.file (in such a case, validation is bypassed).