HEX
Server: nginx/1.18.0
System: Linux vps-9dcdb12e 5.15.0-176-generic #186-Ubuntu SMP Fri Mar 13 11:01:42 UTC 2026 x86_64
User: ubuntu (1000)
PHP: 8.1.2-1ubuntu2.24
Disabled: exec,passthru,shell_exec,system,proc_open,popen,curl_exec,curl_multi_exec,parse_ini_file,show_source
Upload Files
File: /var/www/rowerowawaga.pl/wp-content/plugins/intelly-related-posts/includes/classes/common/Stack.php
<?php
if (!defined('ABSPATH')) exit;

class IRP_Stack {
    var $array;

    public function __construct() {
        $this->array=array();
    }

    public function push($v) {
        array_push($this->array, $v);
    }
    public function pop() {
        $v=array_pop($this->array);
        return $v;
    }
    public function peek() {
        return $this->array[count($this->array)-1];
    }
    public function size() {
        return count($this->array);
    }
    public function isEmpty() {
        return (count($this->array)==0);
    }
}