Subversion-Projekte lars-tiefland.laravel_shop

Revision

Revision 148 | Ganze Datei anzeigen | Leerzeichen ignorieren | Details | Blame | Letzte Änderung | Log anzeigen | RSS feed

Revision 148 Revision 200
Zeile 1... Zeile 1...
1
<?php
1
<?php
Zeile 2... Zeile 2...
2
 
2
 
3
/*
3
/*
4
 * This file is part of Psy Shell.
4
 * This file is part of Psy Shell.
5
 *
5
 *
6
 * (c) 2012-2022 Justin Hileman
6
 * (c) 2012-2023 Justin Hileman
7
 *
7
 *
8
 * For the full copyright and license information, please view the LICENSE
8
 * For the full copyright and license information, please view the LICENSE
9
 * file that was distributed with this source code.
9
 * file that was distributed with this source code.
Zeile 27... Zeile 27...
27
{
27
{
28
    private $hasWarnedOwnership = false;
28
    private $hasWarnedOwnership = false;
Zeile 29... Zeile 29...
29
 
29
 
30
    /**
30
    /**
31
     * Let's emulate GNU Readline by manually reading and parsing the history file!
-
 
32
     *
-
 
33
     * @return bool
31
     * Let's emulate GNU Readline by manually reading and parsing the history file!
34
     */
32
     */
35
    public static function isSupported(): bool
33
    public static function isSupported(): bool
36
    {
34
    {
37
        return \function_exists('readline') && !\function_exists('readline_list_history');
35
        return \function_exists('readline') && !\function_exists('readline_list_history');