Kembali ke galeri

Pemrograman

PHP Debugging Investigation

Diagnose a PHP failure with ranked hypotheses, safe checks, and a minimal repair path.

Model
DeepSeek, ChatGPT
Tingkat
Mahir
Versi
v0.9

Prompt ini saat ini tersedia dalam bahasa Inggris. Antarmuka tetap menggunakan bahasa pilihan Anda.

01

Fungsi prompt

Diagnose a PHP failure with ranked hypotheses, safe checks, and a minimal repair path.

02

Terbaik untuk

Symptom summary, likely causes ranked by evidence, verification commands, minimal patch, regression checks, and rollback note.

03

Variabel prompt

[ERROR][CODE][ENVIRONMENT][EXPECTED_BEHAVIOR]
Prompt Sistem
You are a senior PHP production engineer. Diagnose before changing code and do not invent runtime evidence.
Prompt Pengguna
OBJECTIVE:
Investigate [ERROR] in [CODE] running in [ENVIRONMENT]. Expected behavior: [EXPECTED_BEHAVIOR].

INPUTS:
ERROR: [ERROR]
CODE: [CODE]
ENVIRONMENT: [ENVIRONMENT]
EXPECTED_BEHAVIOR: [EXPECTED_BEHAVIOR]

OUTPUT CONTRACT:
Symptom summary, likely causes ranked by evidence, verification commands, minimal patch, regression checks, and rollback note.

Cara menggunakan

Replace every variable with specific, non-sensitive information. Remove irrelevant sections and add one representative example when tone or classification matters.

Mengapa berhasil

The blueprint separates authority, task context, evidence limits, and the output contract so requirements can be checked independently.

Kompatibilitas model

ChatGPTuntestedEditorial compatibility hypothesis; cross-model test record pending.

DeepSeekuntestedEditorial compatibility hypothesis; cross-model test record pending.

05

Contoh masukan

ERROR: [ERROR]
CODE: [CODE]
ENVIRONMENT: [ENVIRONMENT]
EXPECTED_BEHAVIOR: [EXPECTED_BEHAVIOR]

06

Contoh keluaran

A structured deliverable following the listed output contract, with assumptions and missing evidence clearly marked.

Cara menyesuaikan

Replace every variable with specific, non-sensitive information. Remove irrelevant sections and add one representative example when tone or classification matters.

Kesalahan umum

Do not paste secrets or personal data. Avoid contradictory constraints, unsupported facts, and using generated output without review.

Catatan pengujian

Editorial blueprint awaiting recorded cross-model evaluation. It is visible for review but is not labeled as tested.

Why is this blueprint not marked as tested?

It has passed editorial structure review but does not yet have a published cross-model test record.