[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"me":3,"catalog:en:backend\u002Fphp":4,"config":253},null,{"field_key":5,"field_name":6,"seniority":7,"topic_key":7,"topic_name":7,"spec_key":8,"spec_name":9,"locale":10,"cell_total":11,"field_total":12,"seniorities":13,"topics":17,"specs":151,"samples":168},"backend","Backend","","php","PHP","en",450,3300,[14,15,16],"junior","mid","senior",[18,22,25,28,31,34,37,40,43,46,49,52,55,58,61,64,67,70,73,76,79,82,85,88,91,94,97,100,103,106,109,112,115,118,121,124,127,130,133,136,139,142,145,148],{"key":19,"name":20,"count":21},"api-design","API Design",75,{"key":23,"name":24,"count":21},"caching","Caching",{"key":26,"name":27,"count":21},"concurrency","Concurrency",{"key":29,"name":30,"count":21},"csharp-concurrency-async","Csharp Concurrency Async",{"key":32,"name":33,"count":21},"csharp-exceptions","Csharp Exceptions",{"key":35,"name":36,"count":21},"csharp-generics-interfaces","Csharp Generics Interfaces",{"key":38,"name":39,"count":21},"csharp-memory-performance","Csharp Memory Performance",{"key":41,"name":42,"count":21},"csharp-stdlib-http","Csharp Stdlib Http",{"key":44,"name":45,"count":21},"csharp-testing-tooling","Csharp Testing Tooling",{"key":47,"name":48,"count":21},"databases-sql","Databases \u002F SQL",{"key":50,"name":51,"count":21},"go-concurrency","Go Concurrency",{"key":53,"name":54,"count":21},"go-errors","Go Errors",{"key":56,"name":57,"count":21},"go-interfaces-generics","Go Interfaces Generics",{"key":59,"name":60,"count":21},"go-memory-performance","Go Memory Performance",{"key":62,"name":63,"count":21},"go-stdlib-http","Go Stdlib Http",{"key":65,"name":66,"count":21},"go-testing-tooling","Go Testing Tooling",{"key":68,"name":69,"count":21},"java-concurrency","Java Concurrency",{"key":71,"name":72,"count":21},"java-exceptions","Java Exceptions",{"key":74,"name":75,"count":21},"java-generics-interfaces","Java Generics Interfaces",{"key":77,"name":78,"count":21},"java-memory-jvm","Java Memory Jvm",{"key":80,"name":81,"count":21},"java-stdlib-http","Java Stdlib Http",{"key":83,"name":84,"count":21},"java-testing-tooling","Java Testing Tooling",{"key":86,"name":87,"count":21},"messaging-queues","Messaging \u002F Queues",{"key":89,"name":90,"count":21},"networking-http","Networking \u002F HTTP",{"key":92,"name":93,"count":21},"nodejs-error-handling","Nodejs Error Handling",{"key":95,"name":96,"count":21},"nodejs-event-loop-async","Nodejs Event Loop Async",{"key":98,"name":99,"count":21},"nodejs-memory-performance","Nodejs Memory Performance",{"key":101,"name":102,"count":21},"nodejs-modules-streams","Nodejs Modules Streams",{"key":104,"name":105,"count":21},"nodejs-stdlib-http","Nodejs Stdlib Http",{"key":107,"name":108,"count":21},"nodejs-testing-tooling","Nodejs Testing Tooling",{"key":110,"name":111,"count":21},"php-concurrency-async","Php Concurrency Async",{"key":113,"name":114,"count":21},"php-exceptions","Php Exceptions",{"key":116,"name":117,"count":21},"php-generics-interfaces","Php Generics Interfaces",{"key":119,"name":120,"count":21},"php-memory-performance","Php Memory Performance",{"key":122,"name":123,"count":21},"php-stdlib-http","Php Stdlib Http",{"key":125,"name":126,"count":21},"php-testing-tooling","Php Testing Tooling",{"key":128,"name":129,"count":21},"python-concurrency-async","Python Concurrency Async",{"key":131,"name":132,"count":21},"python-errors-context","Python Errors Context",{"key":134,"name":135,"count":21},"python-memory-performance","Python Memory Performance",{"key":137,"name":138,"count":21},"python-stdlib-http","Python Stdlib Http",{"key":140,"name":141,"count":21},"python-testing-tooling","Python Testing Tooling",{"key":143,"name":144,"count":21},"python-typing-oop","Python Typing Oop",{"key":146,"name":147,"count":21},"security","Security",{"key":149,"name":150,"count":21},"testing","Testing",[152,155,158,161,164,165],{"key":153,"name":154,"count":11},"csharp","C#\u002F.NET",{"key":156,"name":157,"count":11},"go","Go",{"key":159,"name":160,"count":11},"java","Java",{"key":162,"name":163,"count":11},"nodejs","Node.js",{"key":8,"name":9,"count":11},{"key":166,"name":167,"count":11},"python","Python",[169,187,201,214,227,240],{"id":170,"topic":111,"difficulty":171,"body":172,"options":173,"correct_key":175,"explanation":186},"019f7281-5173-70d0-8804-a06d7c407aeb",1,"In PHP, what does calling a function whose body contains a `yield` statement return?",[174,177,180,183],{"key":175,"text":176},"a","A `Generator` object",{"key":178,"text":179},"b","The first yielded value",{"key":181,"text":182},"c","An array of all yielded values",{"key":184,"text":185},"d","`null`, until the function is used inside a `foreach` loop","Any function containing `yield` anywhere in its body automatically becomes a generator function. Calling it never runs the body immediately — it returns a `Generator` object that implements `Iterator`, and the body only executes as the generator is advanced.",{"id":188,"topic":111,"difficulty":189,"body":190,"options":191,"correct_key":178,"explanation":200},"019f7281-51ce-74b8-ba2d-001e7641a510",2,"```php\nfunction numbers() {\n    yield 1;\n    yield 2;\n    yield 3;\n}\n\nforeach (numbers() as $n) {\n    echo $n;\n}\n```\nWhat is printed?",[192,194,196,198],{"key":175,"text":193},"0 1 2",{"key":178,"text":195},"123",{"key":181,"text":197},"1, 2, 3",{"key":184,"text":199},"Nothing is printed because generator functions cannot be used directly in a `foreach` loop","`numbers()` returns a `Generator`, which is directly iterable with `foreach`. Each iteration yields the next value (1, then 2, then 3), and `echo $n` prints them back to back with no separator: `123`.",{"id":202,"topic":111,"difficulty":171,"body":203,"options":204,"correct_key":181,"explanation":213},"019f7281-51d0-73c9-ab23-02809847d086","When exactly does the code inside a generator function start executing?",[205,207,209,211],{"key":175,"text":206},"Immediately when the function is called, before the caller does anything else",{"key":178,"text":208},"Only after the entire script has completely finished running from start to end",{"key":181,"text":210},"When the generator is first advanced, e.g. via `foreach` or `current()`\u002F`next()`",{"key":184,"text":212},"When PHP parses and compiles the file that defines the generator function","Calling a generator function only creates the `Generator` object; execution is lazy. The body runs up to the first `yield` only once something starts pulling values from it (`foreach`, `->current()`, `->next()`, `->send()`, etc.).",{"id":215,"topic":111,"difficulty":189,"body":216,"options":217,"correct_key":184,"explanation":226},"019f7281-51d6-781a-95ea-6282c68e18a5","```php\nfunction pairs() {\n    yield 'a' => 1;\n    yield 'b' => 2;\n}\n\nforeach (pairs() as $k => $v) {\n    echo \"$k=$v \";\n}\n```\nWhat is printed?",[218,220,222,224],{"key":175,"text":219},"0=1 1=2",{"key":178,"text":221},"a=1, b=2",{"key":181,"text":223},"1=a 2=b",{"key":184,"text":225},"a=1 b=2 ","`yield 'a' => 1;` yields the value `1` with the explicit key `'a'`, and likewise for `'b' => 2`. `foreach ($gen as $k => $v)` receives exactly those key\u002Fvalue pairs, printing `a=1 b=2 `.",{"id":228,"topic":111,"difficulty":171,"body":229,"options":230,"correct_key":175,"explanation":239},"019f7281-51db-7591-a9a4-0bee22320837","By default, without any additional extension or library, how does a standard PHP script execute?",[231,233,235,237],{"key":175,"text":232},"Synchronously, one statement after another, in a single thread",{"key":178,"text":234},"Multiple statements automatically run in parallel across CPU cores",{"key":181,"text":236},"Each function call automatically spawns a new OS thread",{"key":184,"text":238},"All I\u002FO operations are non-blocking by default","Plain PHP is single-threaded and synchronous: statements execute in order, and a blocking call (like a slow HTTP request) stops everything else in that script until it returns. True parallelism or non-blocking I\u002FO requires extra tools (`pcntl_fork`, Fibers plus an event-loop library, Swoole, etc.).",{"id":241,"topic":111,"difficulty":189,"body":242,"options":243,"correct_key":178,"explanation":252},"019f7281-51de-726e-baec-184dbbb2c623","```php\nfunction slowTask($seconds) {\n    sleep($seconds);\n    return 'done';\n}\n\n$start = microtime(true);\nslowTask(1);\nslowTask(1);\n$elapsed = microtime(true) - $start;\n```\nApproximately what is `$elapsed`, and why?",[244,246,248,250],{"key":175,"text":245},"~1 second, because PHP automatically runs both `slowTask()` calls concurrently by default",{"key":178,"text":247},"~2 seconds, because each blocking `sleep()` call must fully finish before the next one starts",{"key":181,"text":249},"~0 seconds, because PHP schedules `sleep()` calls to run in the background automatically",{"key":184,"text":251},"It cannot be measured with `microtime()`, since PHP hides timing details from userland code","`sleep()` blocks the current (single) thread of execution. The second `slowTask(1)` only starts after the first one has fully returned, so the two 1-second sleeps add up sequentially to roughly 2 seconds.",{"fields":254,"seniorities":424,"interview_shapes":425,"locales":430,"oauth":432,"question_count":435,"coach_enabled":436,"jd_match_enabled":436},[255,266,286,303,327,340,359,378,398,405,411,418],{"key":5,"name_tr":6,"name_en":6,"sort":171,"specializations":256},[257,260,261,262,263,264,265],{"key":258,"name":259,"field":5},"general","Genel",{"key":156,"name":157,"field":5},{"key":166,"name":167,"field":5},{"key":159,"name":160,"field":5},{"key":153,"name":154,"field":5},{"key":162,"name":163,"field":5},{"key":8,"name":9,"field":5},{"key":267,"name_tr":268,"name_en":268,"sort":189,"specializations":269},"frontend","Frontend",[270,271,274,277,280,283],{"key":258,"name":259,"field":267},{"key":272,"name":273,"field":267},"javascript","JavaScript",{"key":275,"name":276,"field":267},"typescript","TypeScript",{"key":278,"name":279,"field":267},"react","React",{"key":281,"name":282,"field":267},"vue","Vue",{"key":284,"name":285,"field":267},"angular","Angular",{"key":287,"name_tr":288,"name_en":288,"sort":289,"specializations":290},"fullstack","Fullstack",3,[291,292,293,294,295,296,297,298,299,300,301,302],{"key":258,"name":259,"field":287},{"key":156,"name":157,"field":5},{"key":166,"name":167,"field":5},{"key":159,"name":160,"field":5},{"key":153,"name":154,"field":5},{"key":162,"name":163,"field":5},{"key":8,"name":9,"field":5},{"key":272,"name":273,"field":267},{"key":275,"name":276,"field":267},{"key":278,"name":279,"field":267},{"key":281,"name":282,"field":267},{"key":284,"name":285,"field":267},{"key":304,"name_tr":305,"name_en":305,"sort":306,"specializations":307},"devops-cloud","DevOps \u002F Cloud",4,[308,309,312,315,318,321,324],{"key":258,"name":259,"field":304},{"key":310,"name":311,"field":304},"aws","AWS",{"key":313,"name":314,"field":304},"gcp","GCP",{"key":316,"name":317,"field":304},"azure","Azure",{"key":319,"name":320,"field":304},"kubernetes","Kubernetes",{"key":322,"name":323,"field":304},"terraform","Terraform",{"key":325,"name":326,"field":304},"linux","Linux",{"key":328,"name_tr":329,"name_en":329,"sort":330,"specializations":331},"ai-engineer","AI Engineer",5,[332,333,334,337],{"key":258,"name":259,"field":328},{"key":166,"name":167,"field":328},{"key":335,"name":336,"field":328},"llm-rag","LLM\u002FRAG",{"key":338,"name":339,"field":328},"mlops","MLOps",{"key":341,"name_tr":342,"name_en":343,"sort":344,"specializations":345},"database","Veritabanı","Database",6,[346,347,350,353,356],{"key":258,"name":259,"field":341},{"key":348,"name":349,"field":341},"postgresql","PostgreSQL",{"key":351,"name":352,"field":341},"mysql","MySQL",{"key":354,"name":355,"field":341},"mongodb","MongoDB",{"key":357,"name":358,"field":341},"redis","Redis",{"key":360,"name_tr":361,"name_en":362,"sort":363,"specializations":364},"mobile","Mobil","Mobile",7,[365,366,369,372,375],{"key":258,"name":259,"field":360},{"key":367,"name":368,"field":360},"ios-swift","iOS (Swift)",{"key":370,"name":371,"field":360},"android-kotlin","Android (Kotlin)",{"key":373,"name":374,"field":360},"flutter","Flutter",{"key":376,"name":377,"field":360},"react-native","React Native",{"key":146,"name_tr":379,"name_en":147,"sort":380,"specializations":381},"Güvenlik",8,[382,383,386,389,392,395],{"key":258,"name":259,"field":146},{"key":384,"name":385,"field":146},"appsec","AppSec",{"key":387,"name":388,"field":146},"offensive-pentest","Offensive \u002F Pentest",{"key":390,"name":391,"field":146},"cloud-security","Cloud Security",{"key":393,"name":394,"field":146},"devsecops","DevSecOps",{"key":396,"name":397,"field":146},"blue-team-incident","Blue Team \u002F Incident",{"key":399,"name_tr":400,"name_en":401,"sort":402,"specializations":403},"qa-test-automation","QA \u002F Test Otomasyonu","QA \u002F Test Automation",9,[404],{"key":258,"name":259,"field":399},{"key":406,"name_tr":407,"name_en":407,"sort":408,"specializations":409},"data-engineer","Data Engineer",10,[410],{"key":258,"name":259,"field":406},{"key":412,"name_tr":413,"name_en":414,"sort":415,"specializations":416},"game-dev","Oyun Geliştirme","Game Development",11,[417],{"key":258,"name":259,"field":412},{"key":419,"name_tr":420,"name_en":420,"sort":421,"specializations":422},"ml-engineer","ML Engineer",12,[423],{"key":258,"name":259,"field":419},[14,15,16],{"junior":426,"mid":428,"senior":429},{"questions":427,"median_sec":3},20,{"questions":427,"median_sec":3},{"questions":427,"median_sec":3},[431,10],"tr",[433,434],"google","github",21750,true]