You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 7a8767f
Browse filesBrowse the repository at this point in the historyBrowse files
/* once added, assume that classes are stable... until shutdown. */
402
-
ZEND_HASH_PACKED_FOREACH_PTR(&classes, ce) {
403
-
phpdbg_print_class_name(ce);
404
-
405
-
if (ce->parent) {
406
-
if (ce->ce_flags&ZEND_ACC_LINKED) {
407
-
zend_class_entry*pce=ce->parent;
408
-
do {
409
-
phpdbg_out("|-------- ");
410
-
phpdbg_print_class_name(pce);
411
-
} while ((pce=pce->parent));
412
-
} else {
413
-
phpdbg_writeln("|-------- User Class %s (not yet linked because declaration for parent was not encountered when declaring the class)", ZSTR_VAL(ce->parent_name));
402
+
if (HT_IS_INITIALIZED(&classes)) {
403
+
ZEND_HASH_PACKED_FOREACH_PTR(&classes, ce) {
404
+
phpdbg_print_class_name(ce);
405
+
406
+
if (ce->parent) {
407
+
if (ce->ce_flags&ZEND_ACC_LINKED) {
408
+
zend_class_entry*pce=ce->parent;
409
+
do {
410
+
phpdbg_out("|-------- ");
411
+
phpdbg_print_class_name(pce);
412
+
} while ((pce=pce->parent));
413
+
} else {
414
+
phpdbg_writeln("|-------- User Class %s (not yet linked because declaration for parent was not encountered when declaring the class)", ZSTR_VAL(ce->parent_name));
415
+
}
414
416
}
415
-
}
416
417
417
-
if (ce->info.user.filename) {
418
-
phpdbg_writeln("|---- in %s on line %u", ZSTR_VAL(ce->info.user.filename), ce->info.user.line_start);
419
-
} else {
420
-
phpdbg_writeln("|---- no source code");
421
-
}
422
-
} ZEND_HASH_FOREACH_END();
418
+
if (ce->info.user.filename) {
419
+
phpdbg_writeln("|---- in %s on line %u", ZSTR_VAL(ce->info.user.filename), ce->info.user.line_start);
0 commit comments