A PHP Error was encountered

Severity: 8192

Message: Optional parameter $prod_file declared before required parameter $minify is implicitly treated as a required parameter

Filename: libraries/Carabiner.php

Line Number: 464

Backtrace:

File: /home/paste/public_html/application/controllers/Main.php
Line: 10
Function: __construct

File: /home/paste/public_html/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Return type of CI_Session_database_driver::open($save_path, $name) should either be compatible with SessionHandlerInterface::open(string $path, string $name): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice

Filename: drivers/Session_database_driver.php

Line Number: 129

Backtrace:

File: /home/paste/public_html/application/controllers/Main.php
Line: 63
Function: library

File: /home/paste/public_html/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Return type of CI_Session_database_driver::close() should either be compatible with SessionHandlerInterface::close(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice

Filename: drivers/Session_database_driver.php

Line Number: 280

Backtrace:

File: /home/paste/public_html/application/controllers/Main.php
Line: 63
Function: library

File: /home/paste/public_html/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Return type of CI_Session_database_driver::read($session_id) should either be compatible with SessionHandlerInterface::read(string $id): string|false, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice

Filename: drivers/Session_database_driver.php

Line Number: 151

Backtrace:

File: /home/paste/public_html/application/controllers/Main.php
Line: 63
Function: library

File: /home/paste/public_html/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Return type of CI_Session_database_driver::write($session_id, $session_data) should either be compatible with SessionHandlerInterface::write(string $id, string $data): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice

Filename: drivers/Session_database_driver.php

Line Number: 208

Backtrace:

File: /home/paste/public_html/application/controllers/Main.php
Line: 63
Function: library

File: /home/paste/public_html/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Return type of CI_Session_database_driver::destroy($session_id) should either be compatible with SessionHandlerInterface::destroy(string $id): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice

Filename: drivers/Session_database_driver.php

Line Number: 297

Backtrace:

File: /home/paste/public_html/application/controllers/Main.php
Line: 63
Function: library

File: /home/paste/public_html/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Return type of CI_Session_database_driver::gc($maxlifetime) should either be compatible with SessionHandlerInterface::gc(int $max_lifetime): int|false, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice

Filename: drivers/Session_database_driver.php

Line Number: 335

Backtrace:

File: /home/paste/public_html/application/controllers/Main.php
Line: 63
Function: library

File: /home/paste/public_html/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: ini_set(): Session ini settings cannot be changed after headers have already been sent

Filename: Session/Session.php

Line Number: 282

Backtrace:

File: /home/paste/public_html/application/controllers/Main.php
Line: 63
Function: library

File: /home/paste/public_html/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: session_set_cookie_params(): Session cookie parameters cannot be changed after headers have already been sent

Filename: Session/Session.php

Line Number: 294

Backtrace:

File: /home/paste/public_html/application/controllers/Main.php
Line: 63
Function: library

File: /home/paste/public_html/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: ini_set(): Session ini settings cannot be changed after headers have already been sent

Filename: Session/Session.php

Line Number: 304

Backtrace:

File: /home/paste/public_html/application/controllers/Main.php
Line: 63
Function: library

File: /home/paste/public_html/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: ini_set(): Session ini settings cannot be changed after headers have already been sent

Filename: Session/Session.php

Line Number: 314

Backtrace:

File: /home/paste/public_html/application/controllers/Main.php
Line: 63
Function: library

File: /home/paste/public_html/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: ini_set(): Session ini settings cannot be changed after headers have already been sent

Filename: Session/Session.php

Line Number: 315

Backtrace:

File: /home/paste/public_html/application/controllers/Main.php
Line: 63
Function: library

File: /home/paste/public_html/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: ini_set(): Session ini settings cannot be changed after headers have already been sent

Filename: Session/Session.php

Line Number: 316

Backtrace:

File: /home/paste/public_html/application/controllers/Main.php
Line: 63
Function: library

File: /home/paste/public_html/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: ini_set(): Session ini settings cannot be changed after headers have already been sent

Filename: Session/Session.php

Line Number: 317

Backtrace:

File: /home/paste/public_html/application/controllers/Main.php
Line: 63
Function: library

File: /home/paste/public_html/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: ini_set(): Session ini settings cannot be changed after headers have already been sent

Filename: Session/Session.php

Line Number: 375

Backtrace:

File: /home/paste/public_html/application/controllers/Main.php
Line: 63
Function: library

File: /home/paste/public_html/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: session_set_save_handler(): Session save handler cannot be changed after headers have already been sent

Filename: Session/Session.php

Line Number: 110

Backtrace:

File: /home/paste/public_html/application/controllers/Main.php
Line: 63
Function: library

File: /home/paste/public_html/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: session_start(): Session cannot be started after headers have already been sent

Filename: Session/Session.php

Line Number: 143

Backtrace:

File: /home/paste/public_html/application/controllers/Main.php
Line: 63
Function: library

File: /home/paste/public_html/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: stristr(): Passing null to parameter #1 ($haystack) of type string is deprecated

Filename: controllers/Main.php

Line Number: 229

Backtrace:

File: /home/paste/public_html/application/controllers/Main.php
Line: 229
Function: stristr

File: /home/paste/public_html/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: stristr(): Passing null to parameter #1 ($haystack) of type string is deprecated

Filename: controllers/Main.php

Line Number: 251

Backtrace:

File: /home/paste/public_html/application/controllers/Main.php
Line: 251
Function: stristr

File: /home/paste/public_html/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: stristr(): Passing null to parameter #1 ($haystack) of type string is deprecated

Filename: controllers/Main.php

Line Number: 269

Backtrace:

File: /home/paste/public_html/application/controllers/Main.php
Line: 269
Function: stristr

File: /home/paste/public_html/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: filter_var(): Passing null to parameter #3 ($options) of type array|int is deprecated

Filename: core/Input.php

Line Number: 572

Backtrace:

File: /home/paste/public_html/application/models/Pastes.php
Line: 522
Function: ip_address

File: /home/paste/public_html/application/controllers/Main.php
Line: 536
Function: getPaste

File: /home/paste/public_html/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /home/paste/public_html/system/core/Exceptions.php:271)

Filename: view/download.php

Line Number: 2

Backtrace:

File: /home/paste/public_html/themes/bootstrap/views/view/download.php
Line: 2
Function: header

File: /home/paste/public_html/application/core/MY_Loader.php
Line: 147
Function: include

File: /home/paste/public_html/application/core/MY_Loader.php
Line: 33
Function: _ci_load

File: /home/paste/public_html/application/controllers/Main.php
Line: 537
Function: view

File: /home/paste/public_html/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /home/paste/public_html/system/core/Exceptions.php:271)

Filename: view/download.php

Line Number: 3

Backtrace:

File: /home/paste/public_html/themes/bootstrap/views/view/download.php
Line: 3
Function: header

File: /home/paste/public_html/application/core/MY_Loader.php
Line: 147
Function: include

File: /home/paste/public_html/application/core/MY_Loader.php
Line: 33
Function: _ci_load

File: /home/paste/public_html/application/controllers/Main.php
Line: 537
Function: view

File: /home/paste/public_html/index.php
Line: 284
Function: require_once

{ Multitasking in pascal } { In this version you can NOT use floatingpoint! } { Supports use of 32bits registers } uses Dos, Crt; {$S-,R-} {$M 1024, 0, 655350} type task_type = record stack: array[0..1023] of byte; eax, ebx, ecx, edx, esi, edi, ebp, esp, eip, flags: longint; es, ds, cs, ss, fs, gs: word; end; task_type_ptr = ^task_type; var Stack: array[0..1023] of byte; Tasks: array[0..7] of task_type_ptr; Key: char; Int8_Save: pointer; a, ss_save, sp_save, bp_save: word; scr: array[0..24, 0..79] of word ABSOLUTE $b800:0; procedure MTaskHandler; far; forward; procedure MainProc; far; forward; procedure KeybHandler; far; begin Key:= #0; repeat asm mov ah, 1 int 16h jz @@1 xor ax, ax int 16h mov Key, al @@1: end; until false; end; { function to set up a new task } procedure SetupTask(task_num: word; routine: pointer); var f: longint; begin asm db $66; pushf db $66; pop word ptr [f] cli end; new(Tasks[task_num]); Tasks[task_num]^.ss:= Seg(Tasks[task_num]^.Stack); Tasks[task_num]^.cs:= Seg(routine^); Tasks[task_num]^.ds:= Seg(Tasks[0]); Tasks[task_num]^.ebp:= 1022; Tasks[task_num]^.esp:= 1022; Tasks[task_num]^.eip:= Ofs(routine^); Tasks[task_num]^.flags:= f; asm sti end; end; { used to close down a task } procedure CloseTask(task_num: word); begin asm cli end; dispose(Tasks[task_num]); Tasks[task_num]:= nil; asm sti end; end; { used to initialize the task } procedure Init_Tasks; var a: word; begin for a:= 0 to 7 do Tasks[a]:= nil; SetupTask(0, @MainProc); SetupTask(1, @KeybHandler); end; procedure Destuct_Tasks; var a: word; begin for a:= 0 to 7 do if Tasks[a] <> nil then CloseTask(a); end; procedure MainProc; begin a:= $feff; repeat a:= a - 1; until Key = chr(27); SetIntVec($8, Int8_Save); Destuct_Tasks; asm mov ax, 3 int 10h end; end; procedure MTaskHandler; assembler; asm cli { save vital information } { eax, ebx, ecx, edx, esi, edi, ebp, esp, eip, dflags: longint; es, ds, cs, ss, fs, gs: word; } db $66; mov word ptr [@@tmp], ax db $66; mov word ptr [@@tmp+4], bx db $66; mov word ptr [@@tmp+8], cx db $66; mov word ptr [@@tmp+12], dx db $66; mov word ptr [@@tmp+16], si db $66; mov word ptr [@@tmp+20], di { get ip } db $66; xor ax, ax pop ax { pop the ip from stack } db $66; mov word ptr [@@tmp+32], ax { ip } { get cs } pop dx { get flags } db $66; pushf db $66; pop ax pop ax db $66; mov word ptr [@@tmp+36], ax { dflags } { save bp and sp after the modification } db $66; mov word ptr [@@tmp+24], bp db $66; mov word ptr [@@tmp+28], sp mov word ptr [@@tmp+40], es mov word ptr [@@tmp+42], ds mov word ptr [@@tmp+44], dx { cs } mov word ptr [@@tmp+46], ss { setup own stack } db $66; mov word ptr [@@bp], bp db $66; mov word ptr [@@sp], sp mov word ptr [@@ss], ss db $66; xor bp, bp db $66; xor sp, sp mov sp, offset Stack + 1022 mov bp, sp mov ax, seg Stack mov ss, ax { restore data segment } mov ax, seg @data mov ds, ax { call old interrupt } pushf call dword ptr Int8_Save { save task info } mov dx, word ptr [@@cur_t] mov bx, dx shl bx, 2 les di, dword ptr Tasks[bx] { inc dx and dx, 7 mov word ptr [@@cur_t], dx } { skip stack } add di, 1024 { save register info } mov cx, 13 push ds mov ax, cs mov ds, ax mov si, offset @@tmp db $66; rep movsw pop ds { get next task } mov dx, word ptr [@@cur_t] @@task_loop: inc dx and dx, 7 mov bx, dx shl bx, 2 { load task info pointer } les di, dword ptr Tasks[bx] { if valid task, go out } mov ax, es cmp ax, 0 jne @@got_task { if looped, exit } cmp dx, word ptr [@@cur_t] je @@exit jmp @@task_loop @@got_task: { save new task id } mov word ptr [@@cur_t], dx jmp @@exit @@exit: { restore information } mov dx, es mov si, di { skip stack } add si, 1024 { save register info } mov cx, 13 mov ds, dx mov ax, cs mov es, ax mov di, offset @@tmp db $66; rep movsw { restore registers from prev. task } db $66; mov bx, word ptr [@@tmp+4] db $66; mov cx, word ptr [@@tmp+8] db $66; mov dx, word ptr [@@tmp+12] db $66; mov si, word ptr [@@tmp+16] db $66; mov di, word ptr [@@tmp+20] db $66; mov bp, word ptr [@@tmp+24] db $66; mov sp, word ptr [@@tmp+28] mov es, word ptr [@@tmp+40] mov ds, word ptr [@@tmp+42] mov ax, word ptr [@@tmp+46] mov ss, ax xor ax, ax xor ax, ax { set new return address and return the proper way } mov ax, word ptr [@@tmp+36] push ax mov ax, word ptr [@@tmp+44] push ax mov ax, word ptr [@@tmp+32] push ax { restore used register } db $66; mov ax, word ptr [@@tmp] iret { temporary storage } @@tmp: { eax, ebx, ecx, edx, esi, edi, ebp, esp, eip, dflags: longint; es, ds, cs, ss, fs, gs: word; } dd 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 dw 0, 0, 0, 0, 0, 0 { current task } @@cur_t: dw 0 @@bp: dd 0 @@sp: dd 0 @@ss: dw 0 end; procedure DoStuff1; far; var x, y: word; begin x:= 0; y:= 0; repeat scr[y, x]:= a; x:= x + 1; if x = 80 then begin x:= 0; y:= y + 1; if y = 25 then y:= 0; end; until false; end; begin Init_Tasks; SetupTask(2, @DoStuff1); GetIntVec($8, Int8_Save); SetIntVec($8, @MTaskHandler); MainProc; end.