eliashaeussler, German

🐘 #PHP testing tip:

🧪 If you need to test which headers were sent in a #PHP application (using the header() function), just enable @Xdebug and use the xdebug_get_headers() function for comparison.

💁‍♂️ See https://github.com/eliashaeussler/sse/blob/1.1.0/tests/src/Stream/Emitter/RealtimeEmitterTest.php#L51-L61 for a real world example.

#opensource 💪

  • All
  • Subscribed
  • Moderated
  • Favorites
  • php
  • DreamBathrooms
  • everett
  • InstantRegret
  • magazineikmin
  • thenastyranch
  • rosin
  • GTA5RPClips
  • Durango
  • Youngstown
  • slotface
  • khanakhh
  • kavyap
  • ngwrru68w68
  • ethstaker
  • JUstTest
  • osvaldo12
  • tester
  • cubers
  • cisconetworking
  • mdbf
  • tacticalgear
  • modclub
  • Leos
  • anitta
  • normalnudes
  • megavids
  • provamag3
  • lostlight
  • All magazines