3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = <<<END { "Pet": { "type": "object", "required": [ "id" ], "properties": { "id": { "type": "integer", "format": "int64" } } }, "Dog": { "type": "object", "allOf": [ { "$ref": "#/definitions/Pet" }, { "required": [ "name" ], "properties": { "name": { "type": "string" } } } ], "x-vendor-ext": "some data" } } END; echo str_replace("\t", " ", $str);

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.60.0120.00616.50
8.3.50.0150.00521.02
8.3.40.0090.00918.67
8.3.30.0000.01418.72
8.3.20.0000.00720.20
8.3.10.0040.00421.73
8.3.00.0070.00021.77
8.2.180.0180.00416.50
8.2.170.0000.01522.96
8.2.160.0140.00020.47
8.2.150.0040.00424.18
8.2.140.0060.00324.66
8.2.130.0080.00021.04
8.2.120.0040.00426.35
8.2.110.0060.00320.75
8.2.100.0060.00617.80
8.2.90.0070.00019.21
8.2.80.0000.00817.97
8.2.70.0030.00617.50
8.2.60.0000.00817.91
8.2.50.0030.00618.09
8.2.40.0000.00922.03
8.2.30.0070.00019.33
8.2.20.0000.00817.72
8.2.10.0040.00418.11
8.2.00.0070.00017.95
8.1.280.0110.00725.92
8.1.270.0090.00922.19
8.1.260.0040.00428.09
8.1.250.0030.00628.09
8.1.240.0140.00322.57
8.1.230.0070.00419.01
8.1.220.0030.00617.74
8.1.210.0040.00418.77
8.1.200.0060.00317.23
8.1.190.0050.00317.23
8.1.180.0040.00418.10
8.1.170.0060.00318.65
8.1.160.0000.00720.70
8.1.150.0030.00520.60
8.1.140.0000.00819.50
8.1.130.0030.00317.54
8.1.120.0040.00317.28
8.1.110.0040.00417.29
8.1.100.0050.00217.37
8.1.90.0080.00017.39
8.1.80.0000.00817.31
8.1.70.0080.00017.43
8.1.60.0000.00817.49
8.1.50.0000.00817.50
8.1.40.0070.00017.34
8.1.30.0040.00417.52
8.1.20.0000.00717.60
8.1.10.0040.00417.46
8.1.00.0030.00517.46
8.0.300.0080.00018.77
8.0.290.0050.00316.75
8.0.280.0030.00318.38
8.0.270.0030.00317.20
8.0.260.0040.00417.26
8.0.250.0030.00316.91
8.0.240.0000.00717.03
8.0.230.0000.00617.00
8.0.220.0050.00216.81
8.0.210.0000.00716.87
8.0.200.0060.00016.89
8.0.190.0070.00416.91
8.0.180.0050.00517.03
8.0.170.0060.00317.00
8.0.160.0030.00316.98
8.0.150.0000.00816.82
8.0.140.0000.00816.89
8.0.130.0050.00013.41
8.0.120.0040.00416.79
8.0.110.0040.00416.88
8.0.100.0000.00716.83
8.0.90.0000.00816.92
8.0.80.0110.00316.88
8.0.70.0070.00016.81
8.0.60.0040.00416.89
8.0.50.0000.00716.77
8.0.30.0110.00617.28
8.0.20.0100.01317.40
8.0.10.0030.00517.00
8.0.00.0090.01016.81
7.4.330.0000.00616.89
7.4.320.0030.00316.38
7.4.300.0000.00816.44
7.4.290.0030.00316.32
7.4.280.0030.00316.45
7.4.270.0030.00316.40
7.4.260.0080.00016.37
7.4.250.0040.00416.34
7.4.240.0030.00316.46
7.4.230.0070.00016.50
7.4.220.0090.01016.42
7.4.210.0090.00716.51
7.4.200.0040.00416.37
7.4.160.0060.00916.31
7.4.150.0110.00617.40
7.4.140.0080.01117.86
7.4.130.0090.00716.48
7.4.120.0100.00616.45
7.4.110.0120.00616.24
7.4.100.0100.01316.31
7.4.90.0070.01016.70
7.4.80.0090.01319.39
7.4.70.0100.01016.50
7.4.60.0100.01016.42
7.4.50.0070.00716.41
7.4.40.0090.00616.61
7.4.30.0030.01316.45
7.4.00.0080.00914.84
7.3.330.0000.00513.01
7.3.320.0000.00513.09
7.3.310.0030.00316.21
7.3.300.0030.00316.25
7.3.290.0000.00716.29
7.3.280.0090.00816.27
7.3.270.0180.00717.40
7.3.260.0110.00616.23
7.3.250.0090.01316.41
7.3.240.0060.01016.31
7.3.230.0070.01016.39
7.3.210.0110.00716.54
7.3.200.0130.00319.39
7.3.190.0040.01216.21
7.3.180.0070.01016.25
7.3.170.0120.00316.31
7.3.160.0140.00516.49
7.3.120.0090.00914.91
7.3.110.0070.01014.84
7.3.100.0060.00915.01
7.3.90.0120.00314.98
7.3.80.0080.00414.50
7.3.70.0040.00414.37
7.3.60.0000.01514.69
7.3.50.0030.00714.46
7.3.40.0030.01014.83
7.3.30.0000.01014.90
7.3.20.0120.00016.43
7.3.10.0060.00616.46
7.3.00.0060.00616.55
7.2.330.0160.00816.47
7.2.320.0090.00816.68
7.2.310.0060.01116.53
7.2.300.0080.01016.30
7.2.290.0120.00916.68
7.2.250.0110.00714.66
7.2.240.0030.01614.96
7.2.230.0040.01414.82
7.2.220.0050.00514.91
7.2.210.0000.01214.81
7.2.200.0040.00814.92
7.2.190.0130.00315.02
7.2.180.0080.00415.08
7.2.170.0040.00814.61
7.2.60.0070.00716.83
7.2.00.0060.00319.18
7.1.330.0040.00815.84
7.1.320.0070.00615.75
7.1.310.0070.01015.85
7.1.300.0030.00915.58
7.1.290.0000.01215.91
7.1.280.0080.00515.91
7.1.270.0060.00315.79
7.1.260.0030.00515.52
7.1.200.0070.00715.63
7.1.100.0040.00418.27
7.1.70.0050.00517.16
7.1.60.0170.00719.40
7.1.50.0070.01716.58
7.1.00.0000.08022.30
7.0.200.0360.01014.66
7.0.60.0270.07721.81
7.0.50.0030.06017.89
7.0.40.0030.04319.90
7.0.30.0230.06320.25
7.0.20.0270.05020.17
7.0.10.0130.08320.12
7.0.00.0100.08320.20
5.6.280.0070.03020.78
5.6.210.0000.05720.65
5.6.200.0000.08718.19
5.6.190.0030.05020.61
5.6.180.0230.05320.64
5.6.170.0200.03720.50
5.6.160.0030.04320.49
5.6.150.0070.08018.12
5.6.140.0030.04318.21
5.6.130.0100.06018.08
5.6.120.0100.04721.12
5.6.110.0070.07020.98
5.6.100.0130.07021.04
5.6.90.0100.06321.12
5.6.80.0030.08320.48
5.5.350.0200.07020.41
5.5.340.0030.04317.97
5.5.330.0100.05020.07
5.5.320.0470.04320.33
5.5.310.0200.07320.30
5.5.300.0000.07318.00
5.5.290.0000.04317.91
5.5.280.0100.05720.84
5.5.270.0170.04320.84
5.5.260.0070.04720.79
5.5.250.0100.08320.58
5.5.240.0230.07020.25

preferences:
41.52 ms | 401 KiB | 5 Q