{"description":"\u300c\u6bce\u56dedirname(__FILE__)\u3059\u3093\u306e\u3001\u9762\u5012\u304f\u3055\u304f\u306d\uff1f__FILEDIR__\u307f\u305f\u3044\u306a\u306e\u304c\u3042\u3063\u305f\u3089\u6e08\u3080\u8a71\u3058\u3083\u3093\u300d\u3068\u3044\u3063\u305f\u5185\u5bb9\u3067\u3059\uff08\u591a\u5206\uff09\u3002 So why won\u2019t we have constant that would mean dirname(__FILE__)? Something like __FILEDIR__. Would make a lot of code cleaner.\u9762\u767d\u305d\u3046\u306a\u306e\u3067\u3001PHP5.2.3\u3092\u4f7f\u3063\u3066\u65e9\u901f3\u5206\u9593\u30cf\u30c3\u30ad\u30f3\u30b0(^^; __LINE__\u3001__FILE__\u306fZend/zend_language_scanner.l\u3067\u5b9a\u7fa9\u3055\u308c\u3066\u3044\u308b\u3088\u3046\u306a\u306e\u3067\u3001\u300cZend\u30a8\u2026","author_name":"shimooka","url":"https://shimooka.hateblo.jp/entry/20070724/1185238746","height":"190","author_url":"https://blog.hatena.ne.jp/shimooka/","image_url":null,"provider_url":"https://hatena.blog","blog_url":"https://shimooka.hateblo.jp/","published":"2007-07-24 09:59:06","provider_name":"Hatena Blog","type":"rich","version":"1.0","width":"100%","title":"\u30aa\u30ec\u30aa\u30ec\u5b9a\u6570\u300c__FILEDIR__\u300d","blog_title":"Do You PHP \u306f\u3066\u30d6\u30ed","categories":["PHP","\u96d1\u8a18"],"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fshimooka.hateblo.jp%2Fentry%2F20070724%2F1185238746\" title=\"\u30aa\u30ec\u30aa\u30ec\u5b9a\u6570\u300c__FILEDIR__\u300d - Do You PHP \u306f\u3066\u30d6\u30ed\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>"}