3v4l.org

run code in 300+ PHP versions simultaneously
<?php $dispatcher = new Dispatcher($dispatcher = new Dispatcher('https://pg.eet.cz:443/eet/services/EETServiceSOAP/v3'); $dispatcher->trace = TRUE; // Example receipt $r = new Receipt(); $r->uuid_zpravy = 'b3a09b52-7c87-4014-a496-4c7a53cf9120'; $r->dic_popl = 'CZ72080043'; $r->id_provoz = '181'; $r->id_pokl = '1'; $r->porad_cis = '1'; $r->dat_trzby = new \DateTime(); $r->celk_trzba = 1000; // Valid response should be returned echo '<h2>---VALID REQUEST---</h2>'; try { $fik = $dispatcher->send($r); // Send request echo sprintf('<b>Returned FIK code: %s</b><br />', $fik); // See response - should be returned } catch (ServerException $e) { var_dump($e); // See exception } catch (\Exception $e) { var_dump($e); // Fatal error }

Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).

VersionSystem time (s)User time (s)Memory (MiB)
7.2.90.0070.01014.48
7.2.80.0230.00714.31
7.2.70.0110.00814.46
7.2.60.0110.00514.69
7.2.50.0350.00014.50
7.2.40.0130.00414.55
7.2.30.0130.00814.76
7.2.20.0090.01114.77
7.2.10.0050.01314.75
7.2.00.0340.00014.95
7.1.210.0450.00013.69
7.1.200.0450.00613.37
7.1.190.0000.01513.43
7.1.180.0160.00013.59
7.1.170.0090.00413.23
7.1.160.0400.00313.45
7.1.150.0180.00013.36
7.1.140.0400.01113.41
7.1.130.0150.00213.74
7.1.120.0170.00013.44
7.1.110.3630.01313.75
7.1.100.1410.01313.39
7.1.90.0160.00313.40
7.1.80.0150.00013.71
7.1.70.2340.01013.40
7.1.60.0370.00331.78
7.1.50.0870.00931.71
7.1.40.0720.01331.63
7.1.30.2920.00631.65
7.1.20.1000.01331.65
7.1.10.0220.00813.62
7.1.00.0170.01013.71
7.0.310.0630.00613.40
7.0.300.0290.00713.19
7.0.290.0140.00912.88
7.0.280.0050.00913.30
7.0.270.0690.00913.03
7.0.260.0910.01212.89
7.0.250.1110.00012.88
7.0.240.0160.00513.36
7.0.230.0200.00013.25
7.0.220.1060.00013.21
7.0.210.2190.00313.23
7.0.200.1200.00613.55
7.0.190.0600.01013.12
7.0.180.0170.00713.16
7.0.170.0280.00613.23
7.0.160.0720.00313.05
7.0.150.0730.00312.96
7.0.140.1110.00613.42
7.0.130.0590.00312.96
7.0.120.0080.01213.14
7.0.110.1050.00913.26
7.0.100.1610.00613.22
7.0.90.0150.00613.23
7.0.80.1930.00313.35
7.0.70.2200.01313.39
7.0.60.0090.00613.24
7.0.50.2700.00713.12
7.0.40.0170.00613.25
7.0.30.0080.00813.29
7.0.20.0170.00712.98
7.0.10.0120.00313.45
7.0.00.2430.01313.35
5.6.300.0090.00813.91
5.6.290.0120.00613.71
5.6.280.0070.00713.78
5.6.270.0060.01113.86
5.6.260.0040.01313.94
5.6.250.0140.00314.02
5.6.240.0060.00913.96
5.6.230.0120.00014.21
5.6.220.0110.00313.86
5.6.210.0080.00513.86
5.6.200.0030.01013.79
5.6.190.0090.00614.07
5.6.180.0130.00313.95
5.6.170.0000.01613.75
5.6.160.0080.00814.10
5.6.150.0040.01113.71
5.6.140.0030.01013.74
5.6.130.0090.00613.85
5.6.120.0030.00914.18
5.6.110.0040.01214.05
5.6.100.0090.00614.02
5.6.90.0130.00314.07
5.6.80.0110.00314.13
5.6.70.0060.00913.83
5.6.60.0100.00313.79
5.6.50.0060.00613.93
5.6.40.0070.00713.98
5.6.30.0000.01513.96
5.6.20.0080.00714.05
5.6.10.0100.00514.02
5.6.00.0000.01513.94

preferences:
133.47 ms | 1446 KiB | 7 Q