3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace Sonata\CoreBundle\Validator; class_alias( \Sonata\Form\Validator\ErrorElement::class, __NAMESPACE__.'\ErrorElement' ); namespace Sonata\Form\Validator; class ErrorElement { public function test(\Sonata\CoreBundle\Validator\ErrorElement $test) { echo 'OK'; } } namespace something; $a = new \Sonata\Form\Validator\ErrorElement(); $a->test($a);

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.0050.00316.51
8.3.120.0060.00318.97
8.3.110.0030.00620.94
8.3.100.0080.00024.06
8.3.90.0040.00426.77
8.3.80.0040.00419.36
8.3.70.0120.00916.63
8.3.60.0120.00616.49
8.3.50.0070.01123.64
8.3.40.0100.01019.04
8.3.30.0070.00718.46
8.3.20.0040.00424.18
8.3.10.0080.00024.66
8.3.00.0030.00526.16
8.2.250.0080.00018.51
8.2.240.0060.00318.76
8.2.230.0090.00522.58
8.2.220.0090.00637.54
8.2.210.0040.00426.77
8.2.200.0090.00018.88
8.2.190.0100.01318.43
8.2.180.0080.00825.92
8.2.170.0110.00718.64
8.2.160.0070.01022.96
8.2.150.0030.00625.66
8.2.140.0070.00024.66
8.2.130.0030.00326.16
8.2.120.0070.00026.35
8.2.110.0060.00321.06
8.2.100.0080.00417.91
8.2.90.0000.00817.84
8.2.80.0050.00319.82
8.2.70.0060.00317.63
8.2.60.0030.00917.63
8.2.50.0000.00917.63
8.2.40.0040.00420.00
8.2.30.0050.00218.00
8.2.20.0030.00517.92
8.2.10.0040.00419.16
8.2.00.0070.00019.16
8.1.300.0060.00318.18
8.1.290.0030.00630.84
8.1.280.0070.00725.92
8.1.270.0000.00823.99
8.1.260.0000.00828.09
8.1.250.0040.00428.09
8.1.240.0050.00320.88
8.1.230.0110.00022.24
8.1.220.0040.00417.74
8.1.210.0030.00518.77
8.1.200.0080.00017.23
8.1.190.0080.00017.23
8.1.180.0000.00818.10
8.1.170.0000.00917.62
8.1.160.0040.00418.70
8.1.150.0000.00718.82
8.1.140.0070.00018.84
8.1.130.0000.00721.78
8.1.120.0000.00717.41
8.1.110.0040.00417.37
8.1.100.0080.00017.46
8.1.90.0040.00417.44
8.1.80.0000.00817.46
8.1.70.0050.00317.40
8.1.60.0040.00417.53
8.1.50.0080.00017.51
8.1.40.0040.00417.52
8.1.30.0000.00717.69
8.1.20.0000.00817.52
8.1.10.0080.00017.59
8.1.00.0000.00817.43
8.0.300.0060.00319.96
8.0.290.0040.00416.75
8.0.280.0070.00018.36
8.0.270.0050.00318.11
8.0.260.0000.00618.31
8.0.250.0080.00016.95
8.0.240.0000.00716.89
8.0.230.0000.00717.00
8.0.220.0030.00316.76
8.0.210.0030.00316.91
8.0.200.0070.00016.82
8.0.190.0050.00316.99
8.0.180.0080.00016.89
8.0.170.0050.00516.83
8.0.160.0040.00416.80
8.0.150.0030.00316.71
8.0.140.0000.00716.81
8.0.130.0030.00313.32
8.0.120.0000.00716.77
8.0.110.0080.00016.95
8.0.100.0000.00716.84
8.0.90.0040.00416.93
8.0.80.0100.00416.84
8.0.70.0060.00317.00
8.0.60.0040.00416.78
8.0.50.0030.00316.86
8.0.30.0160.00316.79
8.0.20.0210.00016.94
8.0.10.0080.00016.92
8.0.00.0310.01916.82
7.4.330.0000.00515.55
7.4.320.0030.00316.49
7.4.300.0030.00316.64
7.4.290.0040.00416.58
7.4.280.0040.00416.53
7.4.270.0000.00816.60
7.4.260.0000.00513.16
7.4.250.0070.00016.40
7.4.240.0040.00416.46
7.4.230.0040.00416.30
7.4.220.0000.00716.40
7.4.210.0070.00816.56
7.4.200.0040.00416.39
7.4.130.0100.00916.49
7.4.120.0110.00616.23
7.4.110.0120.01216.62
7.4.100.0130.00716.48
7.4.90.0110.00716.50
7.4.80.0060.01519.39
7.4.70.0110.01116.51
7.4.60.0050.01616.21
7.4.50.0050.01216.42
7.4.40.0120.00516.26
7.4.30.0020.01616.51
7.4.20.0070.01416.37
7.4.10.0130.00716.33
7.4.00.0030.01316.45
7.3.330.0000.00716.04
7.3.320.0000.00513.23
7.3.310.0030.00316.22
7.3.300.0070.00016.07
7.3.290.0090.00716.21
7.3.280.0070.00716.28
7.3.260.0120.00616.30
7.3.240.0080.01016.31
7.3.230.0100.00716.25
7.3.210.0100.00716.43
7.3.200.0120.00616.25
7.3.190.0090.01116.50
7.3.180.0030.01516.48
7.3.170.0070.01016.40
7.3.160.0160.00516.17
7.3.150.0090.01216.35
7.3.140.0100.00716.32
7.3.130.0090.01016.25
7.3.120.0080.00816.20
7.3.110.0110.00616.18
7.3.100.0080.00916.23
7.3.90.0140.00516.32
7.3.80.0100.00916.24
7.3.70.0050.01416.21
7.3.60.0060.01116.13
7.3.50.0020.01416.33
7.3.40.0060.01116.12
7.3.30.0070.01016.31
7.3.20.0110.00816.28
7.3.10.0110.00716.19
7.3.00.0100.01116.16
7.2.330.0110.00716.38
7.2.320.0160.00316.63
7.2.310.0070.01016.48
7.2.300.0110.00916.54
7.2.290.0090.00916.40
7.2.280.0060.01216.46
7.2.270.0120.01016.41
7.2.260.0120.00516.49
7.2.250.0070.01116.47
7.2.240.0070.00916.59
7.2.230.0070.01016.57
7.2.220.0060.01116.58
7.2.210.0070.01016.65
7.2.200.0070.01016.54
7.2.190.0070.01116.49
7.2.180.0080.01016.38
7.2.170.0110.00816.40
7.2.160.0070.01116.59
7.2.150.0250.00316.52
7.2.140.0120.00716.59
7.2.130.0090.01216.65
7.2.120.0060.01316.54
7.2.110.0090.00916.63
7.2.100.0060.01116.50
7.2.90.0120.00616.56
7.2.80.0060.01116.46
7.2.70.0120.00516.56
7.2.60.0150.00316.58
7.2.50.0090.01216.58
7.2.40.0050.01116.69
7.2.30.0050.01416.57
7.2.20.0120.00916.53
7.2.10.0090.01316.47
7.2.00.0110.00816.51

preferences:
30.88 ms | 403 KiB | 5 Q