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 39... Zeile 39...
39
        'posix_kill',
39
        'posix_kill',
40
    ];
40
    ];
Zeile 41... Zeile 41...
41
 
41
 
42
    /**
42
    /**
43
     * Process forker is supported if pcntl and posix extensions are available.
-
 
44
     *
-
 
45
     * @return bool
43
     * Process forker is supported if pcntl and posix extensions are available.
46
     */
44
     */
47
    public static function isSupported(): bool
45
    public static function isSupported(): bool
48
    {
46
    {
49
        return self::isPcntlSupported() && !self::disabledPcntlFunctions() && self::isPosixSupported() && !self::disabledPosixFunctions();
47
        return self::isPcntlSupported() && !self::disabledPcntlFunctions() && self::isPosixSupported() && !self::disabledPosixFunctions();
Zeile 248... Zeile 246...
248
     * SimpleXMLElement (among other things) in scope when exiting the execution
246
     * SimpleXMLElement (among other things) in scope when exiting the execution
249
     * loop. We'll just ignore these unserializable classes, and serialize what
247
     * loop. We'll just ignore these unserializable classes, and serialize what
250
     * we can.
248
     * we can.
251
     *
249
     *
252
     * @param array $return
250
     * @param array $return
253
     *
-
 
254
     * @return string
-
 
255
     */
251
     */
256
    private function serializeReturn(array $return): string
252
    private function serializeReturn(array $return): string
257
    {
253
    {
258
        $serializable = [];
254
        $serializable = [];