PHP 8.2.30
Preview: all.js Size: 391 B
/proc/thread-self/root/home/byroehnu/.trash/node_modules11/object-inspect/example/all.js

'use strict';

var inspect = require('../');
var Buffer = require('safer-buffer').Buffer;

var holes = ['a', 'b'];
holes[4] = 'e';
holes[6] = 'g';

var obj = {
    a: 1,
    b: [3, 4, undefined, null],
    c: undefined,
    d: null,
    e: {
        regex: /^x/i,
        buf: Buffer.from('abc'),
        holes: holes
    },
    now: new Date()
};
obj.self = obj;
console.log(inspect(obj));

Directory Contents

Dirs: 0 × Files: 4

Name Size Perms Modified Actions
391 B lrw-r--r-- 2026-02-03 15:06:14
Edit Download
116 B lrw-r--r-- 2026-02-03 15:06:14
Edit Download
126 B lrw-r--r-- 2026-02-03 15:06:18
Edit Download
251 B lrw-r--r-- 2026-02-03 15:06:18
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).