3v4l.org

run code in 300+ PHP versions simultaneously
<?php $matches = array(); // $controller = $this->getRequest()->attributes->get('_controller'); $controller = "Acme\MyBundle\Controller\MyController::myActlion"; preg_match('/(.*)\\\(.*)Bundle\\\Controller\\\(.*)Controller::(.*)Action/', $controller, $matches); print_r($matches);

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.70.0170.00016.63
8.3.60.0140.00718.27
8.3.50.0120.00817.46
8.3.40.0130.00318.96
8.3.30.0120.00318.84
8.3.20.0060.00320.16
8.3.10.0040.00420.62
8.3.00.0040.00420.88
8.2.180.0070.01418.63
8.2.170.0110.00422.96
8.2.160.0100.00720.35
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0040.00421.19
8.2.120.0000.00726.35
8.2.110.0060.00322.28
8.2.100.0040.00717.91
8.2.90.0030.00519.02
8.2.80.0050.00317.97
8.2.70.0030.00617.75
8.2.60.0060.00617.93
8.2.50.0060.00318.10
8.2.40.0030.00622.26
8.2.30.0000.00819.23
8.2.20.0030.00518.03
8.2.10.0040.00417.93
8.2.00.0070.00017.91
8.1.280.0100.00725.92
8.1.270.0050.00222.19
8.1.260.0050.00226.35
8.1.250.0040.00428.09
8.1.240.0070.00321.03
8.1.230.0080.00318.96
8.1.220.0000.00817.74
8.1.210.0030.00618.77
8.1.200.0060.00317.35
8.1.190.0030.00517.35
8.1.180.0000.00718.10
8.1.170.0040.00418.66
8.1.160.0000.00718.95
8.1.150.0000.00718.86
8.1.140.0040.00419.57
8.1.130.0000.00720.52
8.1.120.0040.00417.56
8.1.110.0000.00717.48
8.1.100.0000.00817.61
8.1.90.0040.00417.57
8.1.80.0080.00017.54
8.1.70.0030.00317.54
8.1.60.0090.00017.72
8.1.50.0040.00417.55
8.1.40.0030.00617.50
8.1.30.0040.00417.63
8.1.20.0040.00417.69
8.1.10.0030.00617.64
8.1.00.0050.00317.60
8.0.300.0020.00518.77
8.0.290.0040.00416.75
8.0.280.0000.00718.34
8.0.270.0000.00717.17
8.0.260.0000.00618.96
8.0.250.0000.00717.02
8.0.240.0000.00817.11
8.0.230.0050.00317.02
8.0.220.0030.00316.97
8.0.210.0000.00716.88
8.0.200.0050.00317.05
8.0.190.0000.00817.06
8.0.180.0000.00817.00
8.0.170.0000.00816.92
8.0.160.0000.00816.94
8.0.150.0000.00716.91
8.0.140.0030.00316.86
8.0.130.0060.00013.36
8.0.120.0000.00817.00
8.0.110.0000.00716.97
8.0.100.0000.00717.07
8.0.90.0000.00716.93
8.0.80.0060.01016.95
8.0.70.0040.00416.84
8.0.60.0030.00517.04
8.0.50.0060.00317.09
8.0.30.0150.00517.22
8.0.20.0120.00917.42
8.0.10.0000.00717.10
8.0.00.0120.00616.84
7.4.330.0050.00015.55
7.4.320.0000.00616.66
7.4.300.0000.00616.60
7.4.290.0040.00416.75
7.4.280.0040.00416.76
7.4.270.0060.00016.78
7.4.260.0040.00416.66
7.4.250.0030.00616.72
7.4.240.0000.00716.71
7.4.230.0030.00316.86
7.4.220.0070.01116.61
7.4.210.0070.01016.58
7.4.200.0000.00816.69
7.4.160.0110.00616.55
7.4.150.0180.00017.40
7.4.140.0090.01117.86
7.4.130.0060.01216.64
7.4.120.0100.01016.66
7.4.110.0070.01016.63
7.4.100.0040.01616.46
7.4.90.0030.01416.58
7.4.80.0150.00419.39
7.4.70.0100.00616.52
7.4.60.0070.01016.63
7.4.50.0070.01116.47
7.4.40.0090.00616.59
7.4.30.0080.00816.49
7.4.00.0080.00815.21
7.3.330.0000.00613.27
7.3.320.0000.00513.04
7.3.310.0030.00416.43
7.3.300.0070.00016.14
7.3.290.0070.00716.33
7.3.280.0100.00716.28
7.3.270.0090.00917.40
7.3.260.0080.01216.46
7.3.250.0090.01016.39
7.3.240.0120.00616.45
7.3.230.0140.00316.36
7.3.210.0180.00416.33
7.3.200.0050.01116.53
7.3.190.0130.00316.23
7.3.180.0110.00416.39
7.3.170.0060.01016.29
7.3.160.0110.00616.25
7.3.10.0030.00916.30
7.3.00.0120.00016.48
7.2.330.0090.00916.69
7.2.320.0130.00316.69
7.2.310.0100.00716.52
7.2.300.0080.00816.44
7.2.290.0070.01116.63
7.2.130.0000.01116.71
7.2.120.0030.00816.89
7.2.110.0070.00716.58
7.2.100.0060.00616.75
7.2.90.0030.00716.80
7.2.80.0080.00417.00
7.2.70.0040.00717.01
7.2.60.0010.01216.91
7.2.50.0090.00616.70
7.2.40.0000.01117.01
7.2.30.0000.01016.86
7.2.20.0050.00517.11
7.2.10.0040.00716.79
7.2.00.0140.00016.90
7.1.250.0000.01615.95
7.1.200.0040.00815.62
7.1.80.3280.00716.32
7.1.70.2190.01315.60
7.1.60.2140.00733.16
7.1.50.2070.00733.13
7.1.40.2780.01032.74
7.1.30.3200.00732.79
7.1.20.1840.01032.94
7.1.10.1860.00714.83
7.1.00.2390.00714.98
7.0.200.2700.00714.74
7.0.190.2880.01014.89
7.0.180.2000.00314.60
7.0.170.2760.00714.60
7.0.160.2560.00014.33
7.0.150.2010.00714.51
7.0.140.2570.01014.70
7.0.130.2490.00714.66
7.0.120.2360.00314.51
7.0.110.2050.01014.70
7.0.100.1950.00714.37
7.0.90.1920.01414.79
7.0.80.2120.00714.70
7.0.70.1980.01614.35
7.0.60.2560.00714.32
7.0.50.2090.00714.55
7.0.40.2400.00714.73
7.0.30.2620.01014.78
7.0.20.2320.01014.65
7.0.10.2650.00314.76
7.0.00.3150.01014.71

preferences:
63.79 ms | 401 KiB | 5 Q