3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump( (object) array( "\0bar" => 1, "\0\0baz" => 2, ) );

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.130.0040.00718.53
8.3.120.0050.00518.80
8.3.110.0060.00316.38
8.3.100.0030.00624.06
8.3.90.0070.00026.77
8.3.80.0030.00616.63
8.3.70.0120.00616.75
8.3.60.0090.00916.88
8.3.50.0100.01221.96
8.3.40.0100.00718.64
8.3.30.0100.00319.06
8.3.20.0080.00020.16
8.3.10.0040.00423.64
8.3.00.0080.00019.25
8.2.250.0040.00416.76
8.2.240.0000.00919.06
8.2.230.0040.00420.94
8.2.220.0000.00937.54
8.2.210.0080.00026.77
8.2.200.0040.00416.63
8.2.190.0140.00716.58
8.2.180.0120.00318.36
8.2.170.0110.00422.96
8.2.160.0100.01020.52
8.2.150.0070.00024.18
8.2.140.0040.00424.66
8.2.130.0110.00726.16
8.2.120.0020.00522.27
8.2.110.0090.00020.32
8.2.100.0070.00417.72
8.2.90.0050.00319.14
8.2.80.0000.00817.97
8.2.70.0040.00417.50
8.2.60.0040.00417.80
8.2.50.0070.00418.07
8.2.40.0030.00518.03
8.2.30.0070.00017.92
8.2.20.0040.00417.48
8.2.10.0060.00317.88
8.2.00.0000.01117.66
8.1.300.0090.00017.96
8.1.290.0000.01118.88
8.1.280.0100.00725.92
8.1.270.0000.00823.96
8.1.260.0070.00026.35
8.1.250.0040.00428.09
8.1.240.0030.00622.04
8.1.230.0090.00317.42
8.1.220.0000.00817.74
8.1.210.0030.00518.77
8.1.200.0030.00617.10
8.1.190.0000.00817.18
8.1.180.0040.00418.10
8.1.170.0050.00318.44
8.1.160.0020.00521.93
8.1.150.0040.00418.37
8.1.140.0030.00617.21
8.1.130.0080.00017.62
8.1.120.0020.00517.22
8.1.110.0050.00217.23
8.1.100.0000.00817.30
8.1.90.0030.00317.27
8.1.80.0000.00717.32
8.1.70.0070.00017.25
8.1.60.0000.00817.43
8.1.50.0000.00817.27
8.1.40.0000.00717.36
8.1.30.0040.00417.44
8.1.20.0070.00017.57
8.1.10.0050.00217.22
8.1.00.0040.00417.26
8.0.300.0040.00418.77
8.0.290.0080.00016.75
8.0.280.0050.00218.25
8.0.270.0070.00017.21
8.0.260.0000.00717.11
8.0.250.0000.00616.84
8.0.240.0070.00016.77
8.0.230.0030.00316.89
8.0.220.0000.00716.84
8.0.210.0000.00716.67
8.0.200.0000.00716.74
8.0.190.0060.00316.88
8.0.180.0080.00016.86
8.0.170.0000.00716.72
8.0.160.0000.00716.68
8.0.150.0000.00716.75
8.0.140.0070.00016.74
8.0.130.0000.00613.23
8.0.120.0000.00816.77
8.0.110.0040.00416.73
8.0.100.0050.00216.70
8.0.90.0030.00516.71
8.0.80.0120.00316.84
8.0.70.0000.00716.71
8.0.60.0070.00016.59
8.0.50.0040.00416.64
8.0.30.0130.00816.80
8.0.20.0110.01217.40
8.0.10.0080.00016.88
8.0.00.0120.00816.62
7.4.330.0050.00015.00
7.4.320.0030.00616.41
7.4.300.0040.00416.43
7.4.290.0030.00316.38
7.4.280.0000.00716.43
7.4.270.0000.00716.37
7.4.260.0000.00716.36
7.4.250.0000.00716.37
7.4.240.0000.00716.41
7.4.230.0030.00316.26
7.4.220.0110.00616.36
7.4.210.0050.00916.50
7.4.200.0040.00416.26
7.4.190.0030.00316.44
7.4.160.0080.00816.57
7.4.150.0130.00617.40
7.4.140.0040.01417.86
7.4.130.0070.00916.32
7.4.120.0060.01016.41
7.4.110.0080.00916.50
7.4.100.0030.01416.57
7.4.90.0100.00716.59
7.4.80.0120.01119.39
7.4.70.0100.00616.35
7.4.60.0090.00616.30
7.4.50.0000.00816.19
7.4.40.0090.00622.77
7.4.30.0080.01016.32
7.4.00.0050.01114.70
7.3.330.0030.00312.98
7.3.320.0000.00613.04
7.3.310.0000.00816.21
7.3.300.0030.00316.20
7.3.290.0140.00616.21
7.3.280.0060.00916.24
7.3.270.0120.00617.40
7.3.260.0140.00316.20
7.3.250.0120.00816.27
7.3.240.0090.00916.18
7.3.230.0140.00716.39
7.3.210.0130.00416.23
7.3.200.0090.01219.39
7.3.190.0070.01316.20
7.3.180.0070.01016.19
7.3.170.0130.00616.36
7.3.160.0070.01016.16
7.3.120.0000.01214.56
7.3.110.0060.01114.66
7.3.100.0080.00914.73
7.3.90.0100.00414.70
7.3.80.0020.01314.73
7.3.70.0050.00614.68
7.3.60.0080.00814.53
7.3.50.0030.01414.65
7.3.40.0090.00514.50
7.3.30.0090.00514.38
7.3.20.0050.00916.61
7.3.10.0030.01016.47
7.3.00.0070.00616.41
7.2.330.0040.01516.60
7.2.320.0100.01116.20
7.2.310.0070.01416.66
7.2.300.0080.01316.56
7.2.290.0030.01416.24
7.2.250.0070.01114.63
7.2.240.0070.01015.00
7.2.230.0070.00514.87
7.2.220.0090.00914.85
7.2.210.0030.01114.62
7.2.200.0060.00614.64
7.2.190.0000.01515.01
7.2.180.0070.00914.87
7.2.170.0030.01014.88
7.2.160.0070.00914.85
7.2.150.0060.01116.51
7.2.140.0050.00816.59
7.2.130.0090.00316.59
7.2.120.0070.00716.85
7.2.110.0030.00816.71
7.2.100.0080.00816.82
7.2.90.0080.00816.87
7.2.80.0030.01116.70
7.2.70.0060.00816.67
7.2.60.0070.00716.56
7.2.50.0040.00716.68
7.2.40.0050.00716.76
7.2.30.0050.00516.80
7.2.20.0050.01216.72
7.2.10.0070.00716.89
7.2.00.0050.00817.50
7.1.330.0070.00915.44
7.1.320.0080.00715.75
7.1.310.0020.01115.62
7.1.300.0050.00915.62
7.1.290.0050.00615.82
7.1.280.0080.00515.70
7.1.270.0070.00515.61
7.1.260.0070.00615.61
7.1.250.0090.00715.62
7.1.240.0000.01015.59
7.1.230.0040.01115.56
7.1.220.0070.00715.87
7.1.210.0090.00315.74
7.1.200.0060.00815.74
7.1.190.0000.01015.61
7.1.180.0000.00815.48
7.1.170.0080.00315.76
7.1.160.0060.00315.59
7.1.150.0110.00415.88
7.1.140.0000.00815.84
7.1.130.0100.00315.74
7.1.120.0030.00515.66
7.1.110.0060.00615.85
7.1.100.0050.00517.00
7.1.90.0070.00315.84
7.1.80.0120.00315.89
7.1.70.0030.00816.28
7.1.60.0020.01417.50
7.1.50.0030.01216.28
7.1.40.0080.00815.59
7.1.30.0030.01015.59
7.1.20.0030.01115.57
7.1.10.0070.01015.72
7.1.00.0070.03418.92
7.0.330.0070.00715.27
7.0.320.0030.01015.34
7.0.310.0000.00915.14
7.0.300.0090.00315.02
7.0.290.0110.00415.53
7.0.280.0100.00315.37
7.0.270.0080.00415.37
7.0.260.0060.00615.14
7.0.250.0030.01015.46
7.0.240.0100.00315.05
7.0.230.0080.00415.39
7.0.220.0070.01015.49
7.0.210.0060.00615.39
7.0.200.0210.00814.88
7.0.190.0050.00515.27
7.0.180.0030.00915.13
7.0.170.0070.00715.09
7.0.160.0000.01115.51
7.0.150.0100.00315.40
7.0.140.0030.04018.58
7.0.130.0070.00715.42
7.0.120.0030.01015.50
7.0.110.0080.00315.25
7.0.100.0070.00015.45
7.0.90.0000.01415.55
7.0.80.0070.01015.17
7.0.70.0030.01015.41
7.0.60.0050.04818.58
7.0.50.0040.02718.77
7.0.40.0040.03216.73
7.0.30.0070.04316.78
7.0.20.0100.03816.66
7.0.10.0080.03916.73
7.0.00.0050.04216.55
5.6.400.0030.00914.54
5.6.390.0040.00413.99
5.6.380.0040.00814.10
5.6.370.0080.00414.31
5.6.360.0090.00014.17
5.6.350.0040.00414.39
5.6.340.0080.00414.32
5.6.330.0130.00314.41
5.6.320.0060.00614.27
5.6.310.0090.00614.30
5.6.300.0030.01314.18
5.6.290.0090.00614.30
5.6.280.0070.03817.64
5.6.270.0000.01313.96
5.6.260.0040.00814.48
5.6.250.0090.00014.27
5.6.240.0040.00414.11
5.6.230.0040.00714.38
5.6.220.0030.01214.51
5.6.210.0050.04017.44
5.6.200.0060.03517.58
5.6.190.0130.02817.55
5.6.180.0070.04217.78
5.6.170.0100.03517.54
5.6.160.0090.05417.55
5.6.150.0060.03717.66
5.6.140.0050.02717.46
5.6.130.0100.04317.56
5.6.120.0090.03217.71
5.6.110.0100.04017.71
5.6.100.0030.04217.61
5.6.90.0000.04117.59
5.6.80.0070.03317.39
5.6.70.0030.02717.35
5.6.60.0020.04517.16
5.6.50.0030.03917.37
5.6.40.0060.02917.13
5.6.30.0050.04717.13
5.6.20.0070.02817.32
5.6.10.0040.03617.22
5.6.00.0100.03717.25
5.5.380.0040.01414.11
5.5.370.0110.00314.12
5.5.360.0090.00013.95
5.5.350.0020.05017.13
5.5.340.0020.04617.50
5.5.330.0030.05117.32
5.5.320.0100.03817.28
5.5.310.0050.04317.56
5.5.300.0060.04017.41
5.5.290.0050.03717.46
5.5.280.0030.03217.49
5.5.270.0030.03617.52
5.5.260.0070.03717.30
5.5.250.0050.03217.56
5.5.240.0060.03417.13
5.5.230.0060.02917.18
5.5.220.0020.02617.20
5.5.210.0050.03817.06
5.5.200.0020.03817.25
5.5.190.0050.04217.08
5.5.180.0070.04017.06
5.5.170.0070.00714.21
5.5.160.0020.02417.17
5.5.150.0050.03917.03
5.5.140.0020.04216.93
5.5.130.0060.04317.16
5.5.120.0020.03017.11
5.5.110.0030.02317.08
5.5.100.0050.04017.00
5.5.90.0080.03317.15
5.5.80.0000.03717.01
5.5.70.0070.04017.18
5.5.60.0090.03317.11
5.5.50.0080.03316.93
5.5.40.0040.04017.11
5.5.30.0030.04117.16
5.5.20.0050.03017.17
5.5.10.0050.02317.06
5.5.00.0050.04017.04
5.4.450.0030.02815.08
5.4.440.0020.04115.24
5.4.430.0060.04015.14
5.4.420.0030.04615.23
5.4.410.0070.02815.03
5.4.400.0030.03814.92
5.4.390.0050.02814.93
5.4.380.0020.02414.94
5.4.370.0000.02714.95
5.4.360.0090.02714.93
5.4.350.0060.01714.98
5.4.340.0090.03314.99
5.4.330.0000.00810.96
5.4.320.0050.04014.98
5.4.310.0030.03915.06
5.4.300.0030.03514.93
5.4.290.0030.03315.01
5.4.280.0100.03514.98
5.4.270.0000.03714.94
5.4.260.0030.04114.98
5.4.250.0000.02715.03
5.4.240.0000.02715.07
5.4.230.0050.04015.01
5.4.220.0020.03014.93
5.4.210.0070.03215.03
5.4.200.0060.03715.03
5.4.190.0070.03514.98
5.4.180.0030.02214.92
5.4.170.0050.03615.00
5.4.160.0090.02515.07
5.4.150.0040.04214.99
5.4.140.0030.03613.64
5.4.130.0030.03713.67
5.4.120.0020.03913.64
5.4.110.0020.02813.76
5.4.100.0040.03513.62
5.4.90.0020.03513.59
5.4.80.0030.04613.71
5.4.70.0020.02313.60
5.4.60.0050.02713.66
5.4.50.0040.04313.62
5.4.40.0080.03613.63
5.4.30.0080.03613.64
5.4.20.0060.03513.56
5.4.10.0040.02913.63
5.4.00.0030.03913.34
5.3.290.0030.08014.57
5.3.280.0030.05714.55
5.3.270.0000.03714.42
5.3.260.0030.04314.56
5.3.250.0000.08014.57
5.3.240.0000.04714.55
5.3.230.0030.05314.59
5.3.220.0000.04014.50
5.3.210.0000.04314.46
5.3.200.0030.07714.42
5.3.190.0030.07714.54
5.3.180.0070.06014.40
5.3.170.0070.06014.48
5.3.160.0000.08014.35
5.3.150.0030.07314.51
5.3.140.0000.07714.52
5.3.130.0030.05014.51
5.3.120.0000.07314.48
5.3.110.0100.06714.48
5.3.100.0030.07313.96
5.3.90.0070.06013.94
5.3.80.0030.05013.91
5.3.70.0030.03713.86
5.3.60.0030.05313.95
5.3.50.0000.04013.91
5.3.40.0030.06313.89
5.3.30.0070.07013.74
5.3.20.0000.08013.62
5.3.10.0030.04013.59
5.3.00.0000.06713.57
5.2.170.0000.04711.39
5.2.160.0000.06011.39
5.2.150.0030.04711.39
5.2.140.0030.03711.39
5.2.130.0000.03011.39
5.2.120.0030.03011.39
5.2.110.0000.03311.39
5.2.100.0000.05711.39
5.2.90.0100.05011.39
5.2.80.0100.05711.39
5.2.70.0030.04311.39
5.2.60.0000.06711.39
5.2.50.0070.05711.39
5.2.40.0070.06011.39
5.2.30.0070.06011.39
5.2.20.0000.06311.39
5.2.10.0000.05311.39
5.2.00.0070.05011.39
5.1.60.0070.03711.39
5.1.50.0000.03011.39
5.1.40.0070.04711.39
5.1.30.0070.05311.39
5.1.20.0070.03311.39
5.1.10.0000.05011.39
5.1.00.0000.06011.39
5.0.50.0030.03311.39
5.0.40.0070.04311.39
5.0.30.0070.06311.39
5.0.20.0000.03011.39
5.0.10.0070.03711.39
5.0.00.0030.05311.39
4.4.90.0000.03311.39
4.4.80.0030.03711.39
4.4.70.0030.02711.39
4.4.60.0030.02011.39
4.4.50.0000.03711.39
4.4.40.0000.03711.39
4.4.30.0000.03011.39
4.4.20.0030.02011.39
4.4.10.0070.02311.39
4.4.00.0030.03311.39
4.3.110.0000.02711.39
4.3.100.0000.03311.39
4.3.90.0030.02011.39
4.3.80.0030.04711.39
4.3.70.0030.01711.39
4.3.60.0070.02311.39
4.3.50.0030.01311.39
4.3.40.0030.02011.39
4.3.30.0000.03711.39
4.3.20.0000.03011.39
4.3.10.0000.03711.39
4.3.00.0030.02711.39

preferences:
29.93 ms | 403 KiB | 5 Q